#D96EF2#D96EF2
#D96EF2 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.2% C 0.210 H 319.7°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #D96EF2 |
|---|---|
| RGB | rgb(217, 110, 242) |
| HSL | hsl(289, 84%, 69%) |
| HSV | hsv(289, 55%, 95%) |
| CMYK | cmyk(10.3%, 54.5%, 0%, 5.1%) |
| CIE-LAB | lab(63.60, 61.09, -48.75) |
| CIE-LCH | lch(63.60, 78.16, 321.41°) |
| OKLab | oklab(71.2% 0.1599 -0.1355) |
| OKLCH | oklch(71.2% 0.21 319.7) |
| XYZ | xyz(50.2162, 32.3165, 87.5797) |
| Luminance | 0.3231 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.95
Light Purple
#BF77F6
ΔE00 5.07
Light Magenta
#FA5FF7
ΔE00 5.08
Violet Pink
#FB5FFC
ΔE00 5.08
Bright Lilac
#C95EFB
ΔE00 5.13
Heliotrope
#D94FF5
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D96EF2 #87F26E
analogous
#976EF2 #D96EF2 #F26EC9
triadic
#D96EF2 #F2D96E #6EF2D9
tetradic
#D96EF2 #F2976E #87F26E #6EC9F2
square
#D96EF2 #F2976E #87F26E #6EC9F2
split-complementary
#D96EF2 #C9F26E #6EF297
monochromatic
#AE13D3 #CA36ED #D96EF2 #E8A6F7 #F6DEFC
Accessibility & contrast
On white
2.81
#D96EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#D96EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D96EF2
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D96EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D96EF2 | 1.00 | 2.81 | 7.46 | 7.46 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#DA82A6
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #d96ef2; /* rgb */ color: rgb(217, 110, 242); /* oklch */ color: oklch(71.2% 0.210 319.7);
Tailwind
colors: {
custom: {
50: '#e79cf7',
500: '#d96ef2',
950: '#000000',
},
}SCSS
$custom: #d96ef2; $custom-light: #e79cf7; $custom-dark: #000000;
JSON
{
"hex": "#d96ef2",
"rgb": {
"r": 217,
"g": 110,
"b": 242
},
"hsl": {
"h": 288.636,
"s": 83.544,
"l": 69.02
},
"oklch": {
"l": 0.71197,
"c": 0.2096,
"h": 319.7
},
"luminance": 0.32314
}Semantic roles & 50–950 ramp
primary
#D96EF2
secondary
#D2F1CB
accent
#E0062F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85