#D96FE2#D96FE2
#D96FE2 is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.5% C 0.193 H 324.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #D96FE2 |
|---|---|
| RGB | rgb(217, 111, 226) |
| HSL | hsl(295, 66%, 66%) |
| HSV | hsv(295, 51%, 89%) |
| CMYK | cmyk(4%, 50.9%, 0%, 11.4%) |
| CIE-LAB | lab(63.02, 57.63, -40.78) |
| CIE-LCH | lch(63.02, 70.60, 324.71°) |
| OKLab | oklab(70.52% 0.1569 -0.1125) |
| OKLCH | oklch(70.52% 0.193 324.4) |
| XYZ | xyz(48.0260, 31.6140, 75.5092) |
| Luminance | 0.3161 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.29
Purply Pink
#F075E6
ΔE00 4.39
Light Magenta
#FA5FF7
ΔE00 5.22
Violet Pink
#FB5FFC
ΔE00 5.55
Orchid (survey)
#C875C4
ΔE00 5.56
Violet (CSS)
#EE82EE
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D96FE2 #78E26F
analogous
#9F6FE2 #D96FE2 #E26FB1
triadic
#D96FE2 #E2D96F #6FE2D9
tetradic
#D96FE2 #E29F6F #78E26F #6FB1E2
square
#D96FE2 #E29F6F #78E26F #6FB1E2
split-complementary
#D96FE2 #B1E26F #6FE29F
monochromatic
#A724B3 #CC3CD8 #D96FE2 #E6A2EC #F4D5F7
Accessibility & contrast
On white
2.87
#D96FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#D96FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D96FE2
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D96FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D96FE2 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6090E6
Deuteranopia (green-blind)
#819DDF
Tritanopia (blue-blind)
#DD7D9F
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #d96fe2; /* rgb */ color: rgb(217, 111, 226); /* oklch */ color: oklch(70.5% 0.193 324.4);
Tailwind
colors: {
custom: {
50: '#e79ceb',
500: '#d96fe2',
950: '#000000',
},
}SCSS
$custom: #d96fe2; $custom-light: #e79ceb; $custom-dark: #000000;
JSON
{
"hex": "#d96fe2",
"rgb": {
"r": 217,
"g": 111,
"b": 226
},
"hsl": {
"h": 295.304,
"s": 66.474,
"l": 66.078
},
"oklch": {
"l": 0.70522,
"c": 0.19306,
"h": 324.4
},
"luminance": 0.31612
}Semantic roles & 50–950 ramp
primary
#D96FE2
secondary
#C6E9C4
accent
#CE1725
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84