#D39EF2#D39EF2
#D39EF2 is a light, vivid violet. Relative luminance 0.447; OKLCH L 77.8% C 0.129 H 312.4°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #D39EF2 |
|---|---|
| RGB | rgb(211, 158, 242) |
| HSL | hsl(278, 76%, 78%) |
| HSV | hsv(278, 35%, 95%) |
| CMYK | cmyk(12.8%, 34.7%, 0%, 5.1%) |
| CIE-LAB | lab(72.70, 34.60, -34.56) |
| CIE-LCH | lch(72.70, 48.91, 315.04°) |
| OKLab | oklab(77.85% 0.087 -0.0951) |
| OKLCH | oklch(77.85% 0.129 312.4) |
| XYZ | xyz(55.1151, 44.7143, 89.7145) |
| Luminance | 0.4471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 2.53
Baby Purple
#CA9BF7
ΔE00 2.64
Lilac (survey)
#CEA2FD
ΔE00 2.86
Pastel Purple
#CAA0FF
ΔE00 3.78
Mauve
#E0B0FF
ΔE00 4.40
Pale Violet
#CEAEFA
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D39EF2 #BDF29E
analogous
#A99EF2 #D39EF2 #F29EE7
triadic
#D39EF2 #F2D39E #9EF2D3
tetradic
#D39EF2 #F2A99E #BDF29E #9EE7F2
square
#D39EF2 #F2A99E #BDF29E #9EE7F2
split-complementary
#D39EF2 #E7F29E #9EF2A9
monochromatic
#A232E4 #BB68EB #D39EF2 #EBD4F9 #F3E4FB
Accessibility & contrast
On white
2.11
#D39EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#D39EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D39EF2
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D39EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D39EF2 | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90B0F5
Deuteranopia (green-blind)
#9CB4F0
Tritanopia (blue-blind)
#D0A9BD
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d39ef2; /* rgb */ color: rgb(211, 158, 242); /* oklch */ color: oklch(77.8% 0.129 312.4);
Tailwind
colors: {
custom: {
50: '#e1bbf6',
500: '#d39ef2',
950: '#000000',
},
}SCSS
$custom: #d39ef2; $custom-light: #e1bbf6; $custom-dark: #000000;
JSON
{
"hex": "#d39ef2",
"rgb": {
"r": 211,
"g": 158,
"b": 242
},
"hsl": {
"h": 277.857,
"s": 76.364,
"l": 78.431
},
"oklch": {
"l": 0.77847,
"c": 0.12883,
"h": 312.4
},
"luminance": 0.44713
}Semantic roles & 50–950 ramp
primary
#D39EF2
secondary
#E2F3D8
accent
#D90D58
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185