Nearest named color · #AB8AE4
#AB8AE4
Nearest named color: Dreamy Candy Forest
#AB8AE4 (rgb(171 138 228), hsl(262 63% 72%), oklch(0.699 0.132 299.9)) is closest to the named color Dreamy Candy Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#AB8AE4
oklch(0.699 0.132 299.9)
Color conversions
- HEX
- #ab8ae4
- RGB
- rgb(171 138 228)
- HSL
- hsl(262 63% 72%)
- HWB
- hwb(262 54% 11%)
- OKLCH
- oklch(0.699 0.132 299.9)
- OKLab
- oklab(0.699 0.066 -0.115)
- CIE Lab
- lab(63.33 26.71 -41.5)
- LCH
- lch(63.33 49.35 302.8)
- CMYK
- cmyk(25% 39% 0% 11%)
Tints · Shades · Tones
Tints
- B396E7
- BBA2EB
- C3ADEE
- CBB9F1
- D4C5F3
- DCD0F6
- E5DCF8
- EDE8FB
- F6F3FD
Shades
- 9477C6
- 7E65A9
- 68538D
- 544272
- 403258
- 2D223F
- 1B1428
- 0B0712
- 010103
Tones
- A689DA
- A289D0
- 9E88C6
- 9987BC
- 9586B2
- 9185A8
- 8C849E
- 888394
- 84818A
Color harmonies
Complementary +180°
- AB8AE4
Dreamy Candy Forest
- 94AA41
≈ Persian Belt
Analogous -30° +30°
- AB8AE4
Dreamy Candy Forest
- 7E99F0
≈ Periwinkle Blue
- CC7EC5
≈ Purple Kush
Triadic +120° +240°
- AB8AE4
Dreamy Candy Forest
- D9883F
≈ Coppersmith
- 00B7A1
≈ Aare River
Split-complementary +150° +210°
- AB8AE4
Dreamy Candy Forest
- BE9925
≈ Nugget Gold
- 5AB571
≈ Lawn Party
Tetradic +90° +180° +270°
- AB8AE4
Dreamy Candy Forest
- E57C6C
≈ Cosmic Coral
- 94AA41
≈ Persian Belt
- 00B2C7
≈ Antigua Blue
Contrast & accessibility
Ag
FailOn white
WCAG 2.80:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.48:1 · APCA Lc 48
Best text color: #000000
WCAG 7.48:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--dreamy-candy-forest: #ab8ae4;
--dreamy-candy-forest-rgb: 171 138 228;
--dreamy-candy-forest-oklch: oklch(0.699 0.132 299.9);
}
.element {
color: var(--dreamy-candy-forest);
background-color: hsl(262 63% 72%);
border-color: oklch(0.699 0.132 299.9);
}Tailwind CSS v4
@theme {
--color-dreamy-candy-forest: #ab8ae4;
--color-dreamy-candy-forest-50: #fcedff;
--color-dreamy-candy-forest-100: #f0deff;
--color-dreamy-candy-forest-200: #dec7ff;
--color-dreamy-candy-forest-300: #c4a7f0;
--color-dreamy-candy-forest-400: #aa8be1;
--color-dreamy-candy-forest-500: #946fd0;
--color-dreamy-candy-forest-600: #7d5eaf;
--color-dreamy-candy-forest-700: #644b8d;
--color-dreamy-candy-forest-800: #48376a;
--color-dreamy-candy-forest-900: #32264a;
--color-dreamy-candy-forest-950: #1e1431;
}SCSS
$dreamy-candy-forest: #ab8ae4;
$dreamy-candy-forest-rgb: 171, 138, 228;
$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);
}