Nearest named color · #AB88F2
#AB88F2
Nearest named color: Dreamy Candy Forest
#AB88F2 (rgb(171 136 242), hsl(260 80% 74%), oklch(0.703 0.154 297.5)) is closest to the named color Dreamy Candy Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#AB88F2
oklch(0.703 0.154 297.5)
Color conversions
- HEX
- #ab88f2
- RGB
- rgb(171 136 242)
- HSL
- hsl(260 80% 74%)
- HWB
- hwb(260 53% 5%)
- OKLCH
- oklch(0.703 0.154 297.5)
- OKLab
- oklab(0.703 0.071 -0.136)
- CIE Lab
- lab(63.42 30.4 -49.07)
- LCH
- lch(63.42 57.72 301.8)
- CMYK
- cmyk(29% 44% 0% 5%)
Tints · Shades · Tones
Tints
- B394F4
- BBA0F6
- C3ACF8
- CBB8FA
- D3C4FB
- DCD0FC
- E5DCFD
- EDE7FE
- F6F3FF
Shades
- 9475D2
- 7E63B4
- 685296
- 544179
- 40315E
- 2D2243
- 1B132B
- 0B0614
- 010103
Tones
- A688E7
- A288DB
- 9D87D0
- 9987C4
- 9586B9
- 9085AE
- 8C84A2
- 888397
- 84818C
Color harmonies
Complementary +180°
- AB88F2
Dreamy Candy Forest
- 98AB20
≈ Barf Green
Analogous -30° +30°
- AB88F2
Dreamy Candy Forest
- 7599FF
≈ Blue Chaos
- D17AD0
≈ Purple Kush
Triadic +120° +240°
- AB88F2
Dreamy Candy Forest
- E58329
≈ West Side
- 00B99F
≈ Aare River
Split-complementary +150° +210°
- AB88F2
Dreamy Candy Forest
- C59800
≈ Rapeseed
- 52B965
≈ Forest Maid
Tetradic +90° +180° +270°
- AB88F2
Dreamy Candy Forest
- F07569
≈ Debutante
- 98AB20
≈ Barf Green
- 00B4C6
≈ Lago Blue
Contrast & accessibility
Ag
FailOn white
WCAG 2.78:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.53:1 · APCA Lc 48
Best text color: #000000
WCAG 7.53:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--dreamy-candy-forest: #ab88f2;
--dreamy-candy-forest-rgb: 171 136 242;
--dreamy-candy-forest-oklch: oklch(0.703 0.154 297.5);
}
.element {
color: var(--dreamy-candy-forest);
background-color: hsl(260 80% 74%);
border-color: oklch(0.703 0.154 297.5);
}Tailwind CSS v4
@theme {
--color-dreamy-candy-forest: #ab88f2;
--color-dreamy-candy-forest-50: #fbecff;
--color-dreamy-candy-forest-100: #efddff;
--color-dreamy-candy-forest-200: #dec6ff;
--color-dreamy-candy-forest-300: #c3a5fb;
--color-dreamy-candy-forest-400: #a989ed;
--color-dreamy-candy-forest-500: #936bdd;
--color-dreamy-candy-forest-600: #7c5bbb;
--color-dreamy-candy-forest-700: #644996;
--color-dreamy-candy-forest-800: #473571;
--color-dreamy-candy-forest-900: #312450;
--color-dreamy-candy-forest-950: #1e1235;
}SCSS
$dreamy-candy-forest: #ab88f2;
$dreamy-candy-forest-rgb: 171, 136, 242;
$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);
}