#D29EF2#D29EF2
#D29EF2 is a light, vivid violet. Relative luminance 0.446; OKLCH L 77.8% C 0.128 H 311.9°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #D29EF2 |
|---|---|
| RGB | rgb(210, 158, 242) |
| HSL | hsl(277, 76%, 78%) |
| HSV | hsv(277, 35%, 95%) |
| CMYK | cmyk(13.2%, 34.7%, 0%, 5.1%) |
| CIE-LAB | lab(72.61, 34.30, -34.72) |
| CIE-LCH | lch(72.61, 48.81, 314.65°) |
| OKLab | oklab(77.75% 0.0858 -0.0955) |
| OKLCH | oklch(77.75% 0.128 311.9) |
| XYZ | xyz(54.8295, 44.5670, 89.7011) |
| Luminance | 0.4457 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 2.33
Baby Purple
#CA9BF7
ΔE00 2.46
Lilac (survey)
#CEA2FD
ΔE00 2.70
Pastel Purple
#CAA0FF
ΔE00 3.60
Mauve
#E0B0FF
ΔE00 4.45
Pale Violet
#CEAEFA
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D29EF2 #BEF29E
analogous
#A89EF2 #D29EF2 #F29EE8
triadic
#D29EF2 #F2D29E #9EF2D2
tetradic
#D29EF2 #F2A89E #BEF29E #9EE8F2
square
#D29EF2 #F2A89E #BEF29E #9EE8F2
split-complementary
#D29EF2 #E8F29E #9EF2A8
monochromatic
#A032E4 #B968EB #D29EF2 #EBD4F9 #F2E4FB
Accessibility & contrast
On white
2.12
#D29EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#D29EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D29EF2
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D29EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D29EF2 | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#9BB3F0
Tritanopia (blue-blind)
#CFA9BD
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d29ef2; /* rgb */ color: rgb(210, 158, 242); /* oklch */ color: oklch(77.8% 0.128 311.9);
Tailwind
colors: {
custom: {
50: '#e1bbf6',
500: '#d29ef2',
950: '#000000',
},
}SCSS
$custom: #d29ef2; $custom-light: #e1bbf6; $custom-dark: #000000;
JSON
{
"hex": "#d29ef2",
"rgb": {
"r": 210,
"g": 158,
"b": 242
},
"hsl": {
"h": 277.143,
"s": 76.364,
"l": 78.431
},
"oklch": {
"l": 0.77751,
"c": 0.12841,
"h": 311.9
},
"luminance": 0.44566
}Semantic roles & 50–950 ramp
primary
#D29EF2
secondary
#E2F3D8
accent
#D90D5B
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185