Nearest named color · #AB8CDB
#AB8CDB
Nearest named color: Dreamy Candy Forest
#AB8CDB (rgb(171 140 219), hsl(264 52% 70%), oklch(0.699 0.117 301.5)) is closest to the named color Dreamy Candy Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#AB8CDB
oklch(0.699 0.117 301.5)
Color conversions
- HEX
- #ab8cdb
- RGB
- rgb(171 140 219)
- HSL
- hsl(264 52% 70%)
- HWB
- hwb(264 55% 14%)
- OKLCH
- oklch(0.699 0.117 301.5)
- OKLab
- oklab(0.699 0.061 -0.1)
- CIE Lab
- lab(63.47 24.01 -36.3)
- LCH
- lch(63.47 43.52 303.5)
- CMYK
- cmyk(22% 36% 0% 14%)
Tints · Shades · Tones
Tints
- B397DF
- BBA3E3
- C3AEE7
- CCBAEB
- D4C5EE
- DCD1F2
- E5DCF5
- EEE8F9
- F6F3FC
Shades
- 9479BE
- 7E67A2
- 685587
- 54436D
- 403354
- 2D233C
- 1B1426
- 0B0711
- 010102
Tones
- A78BD2
- A28AC9
- 9E89C0
- 9988B7
- 9587AD
- 9186A4
- 8C849B
- 888392
- 848289
Color harmonies
Complementary +180°
- AB8CDB
Dreamy Candy Forest
- 93A951
≈ Springtide Melodies
Analogous -30° +30°
- AB8CDB
Dreamy Candy Forest
- 8499E7
≈ Portage
- C882BF
≈ Peruvian Lily
Triadic +120° +240°
- AB8CDB
Dreamy Candy Forest
- D28C4C
≈ Hazelnut Coffee
- 28B5A3
≈ Aare River
Split-complementary +150° +210°
- AB8CDB
Dreamy Candy Forest
- B99B3D
≈ Gold Taffeta
- 62B379
≈ Pale Green
Tetradic +90° +180° +270°
- AB8CDB
Dreamy Candy Forest
- DD8170
≈ Wet Pottery Clay
- 93A951
≈ Springtide Melodies
- 1BB1C8
≈ Havasupai Falls
Contrast & accessibility
Ag
FailOn white
WCAG 2.79:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.50:1 · APCA Lc 48
Best text color: #000000
WCAG 7.50:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--dreamy-candy-forest: #ab8cdb;
--dreamy-candy-forest-rgb: 171 140 219;
--dreamy-candy-forest-oklch: oklch(0.699 0.117 301.5);
}
.element {
color: var(--dreamy-candy-forest);
background-color: hsl(264 52% 70%);
border-color: oklch(0.699 0.117 301.5);
}Tailwind CSS v4
@theme {
--color-dreamy-candy-forest: #ab8cdb;
--color-dreamy-candy-forest-50: #fceeff;
--color-dreamy-candy-forest-100: #f0dfff;
--color-dreamy-candy-forest-200: #dec9fe;
--color-dreamy-candy-forest-300: #c4a9e9;
--color-dreamy-candy-forest-400: #ab8ed9;
--color-dreamy-candy-forest-500: #9472c7;
--color-dreamy-candy-forest-600: #7d61a8;
--color-dreamy-candy-forest-700: #644d87;
--color-dreamy-candy-forest-800: #483865;
--color-dreamy-candy-forest-900: #322747;
--color-dreamy-candy-forest-950: #1e152e;
}SCSS
$dreamy-candy-forest: #ab8cdb;
$dreamy-candy-forest-rgb: 171, 140, 219;
$dreamy-candy-forest-light: mix(#fff, $dreamy-candy-forest, 20%);
$dreamy-candy-forest-dark: mix(#000, $dreamy-candy-forest, 20%);
.element {
color: $dreamy-candy-forest;
box-shadow: 0 0 0 2px rgba($dreamy-candy-forest, 0.35);
}