#D96CD9#D96CD9
#D96CD9 is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.7% C 0.190 H 327.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #D96CD9 |
|---|---|
| RGB | rgb(217, 108, 217) |
| HSL | hsl(300, 59%, 64%) |
| HSV | hsv(300, 50%, 85%) |
| CMYK | cmyk(0%, 50.2%, 0%, 14.9%) |
| CIE-LAB | lab(62.07, 57.46, -37.23) |
| CIE-LCH | lch(62.07, 68.47, 327.06°) |
| OKLab | oklab(69.69% 0.1597 -0.1022) |
| OKLCH | oklch(69.69% 0.19 327.4) |
| XYZ | xyz(46.5014, 30.4892, 69.0678) |
| Luminance | 0.3049 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.18
Purply Pink
#F075E6
ΔE00 4.55
Orchid (survey)
#C875C4
ΔE00 4.58
Purpleish Pink
#DF4EC8
ΔE00 5.70
Light Magenta
#FA5FF7
ΔE00 5.74
Candy Pink
#FF63E9
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D96CD9 #6CD96C
analogous
#A26CD9 #D96CD9 #D96CA2
triadic
#D96CD9 #D9D96C #6CD9D9
tetradic
#D96CD9 #D9A26C #6CD96C #6CA2D9
square
#D96CD9 #D9A26C #6CD96C #6CA2D9
split-complementary
#D96CD9 #A2D96C #6CD9A2
monochromatic
#A12AA1 #CC3BCC #D96CD9 #E69DE6 #F2CDF2
Accessibility & contrast
On white
2.96
#D96CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#D96CD9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D96CD9
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D96CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D96CD9 | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#628DDD
Deuteranopia (green-blind)
#839BD6
Tritanopia (blue-blind)
#DF7899
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #d96cd9; /* rgb */ color: rgb(217, 108, 217); /* oklch */ color: oklch(69.7% 0.190 327.4);
Tailwind
colors: {
custom: {
50: '#e79ae5',
500: '#d96cd9',
950: '#000000',
},
}SCSS
$custom: #d96cd9; $custom-light: #e79ae5; $custom-dark: #000000;
JSON
{
"hex": "#d96cd9",
"rgb": {
"r": 217,
"g": 108,
"b": 217
},
"hsl": {
"h": 300,
"s": 58.919,
"l": 63.725
},
"oklch": {
"l": 0.6969,
"c": 0.18962,
"h": 327.4
},
"luminance": 0.30487
}Semantic roles & 50–950 ramp
primary
#D96CD9
secondary
#BDE4BD
accent
#C71F1F
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84