#D2ABFE#D2ABFE
#D2ABFE is a light, vivid violet. Relative luminance 0.500; OKLCH L 80.5% C 0.121 H 305.4°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).
Color values
| HEX | #D2ABFE |
|---|---|
| RGB | rgb(210, 171, 254) |
| HSL | hsl(268, 98%, 83%) |
| HSV | hsv(268, 33%, 100%) |
| CMYK | cmyk(17.3%, 32.7%, 0%, 0.4%) |
| CIE-LAB | lab(76.06, 29.78, -35.87) |
| CIE-LCH | lch(76.06, 46.62, 309.70°) |
| OKLab | oklab(80.54% 0.0702 -0.0989) |
| OKLCH | oklch(80.54% 0.121 305.4) |
| XYZ | xyz(59.0271, 49.9835, 100.2848) |
| Luminance | 0.4998 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.57
Lilac (survey)
#CEA2FD
ΔE00 2.35
Light Violet
#D6B4FC
ΔE00 2.72
Mauve
#E0B0FF
ΔE00 3.00
Pastel Purple
#CAA0FF
ΔE00 3.22
Lavender (survey)
#C79FEF
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2ABFE #D7FEAB
analogous
#ABADFE #D2ABFE #FCABFE
triadic
#D2ABFE #FED2AB #ABFED2
tetradic
#D2ABFE #FEABAD #D7FEAB #ABFEFC
square
#D2ABFE #FEABAD #D7FEAB #ABFEFC
split-complementary
#D2ABFE #FEFCAB #ADFEAB
monochromatic
#9132FD #B26FFD #D2ABFE #EFE1FF #EFE1FF
Accessibility & contrast
On white
1.91
#D2ABFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.00
#D2ABFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2ABFE
11.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2ABFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2ABFE | 1.00 | 1.91 | 11.00 | 11.00 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9ABAFF
Deuteranopia (green-blind)
#A2BCFC
Tritanopia (blue-blind)
#CCB7C9
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #d2abfe; /* rgb */ color: rgb(210, 171, 254); /* oklch */ color: oklch(80.5% 0.121 305.4);
Tailwind
colors: {
custom: {
50: '#e1c4ff',
500: '#d2abfe',
950: '#000000',
},
}SCSS
$custom: #d2abfe; $custom-light: #e1c4ff; $custom-dark: #000000;
JSON
{
"hex": "#d2abfe",
"rgb": {
"r": 210,
"g": 171,
"b": 254
},
"hsl": {
"h": 268.193,
"s": 97.647,
"l": 83.333
},
"oklch": {
"l": 0.80535,
"c": 0.12127,
"h": 305.4
},
"luminance": 0.49983
}Semantic roles & 50–950 ramp
primary
#D2ABFE
secondary
#E7F7D4
accent
#E6007A
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186