#D97CD3#D97CD3
#D97CD3 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.7% C 0.158 H 329.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #D97CD3 |
|---|---|
| RGB | rgb(217, 124, 211) |
| HSL | hsl(304, 55%, 67%) |
| HSV | hsv(304, 43%, 85%) |
| CMYK | cmyk(0%, 42.9%, 2.8%, 14.9%) |
| CIE-LAB | lab(64.86, 48.47, -29.54) |
| CIE-LCH | lch(64.86, 56.76, 328.64°) |
| OKLab | oklab(71.68% 0.1362 -0.0804) |
| OKLCH | oklch(71.68% 0.158 329.4) |
| XYZ | xyz(47.5802, 33.8726, 65.6473) |
| Luminance | 0.3387 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.19
Orchid
#DA70D6
ΔE00 2.83
Orchid (survey)
#C875C4
ΔE00 3.72
Purply Pink
#F075E6
ΔE00 4.30
Violet (CSS)
#EE82EE
ΔE00 4.85
Candy Pink
#FF63E9
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97CD3 #7CD982
analogous
#B17CD9 #D97CD3 #D97CA5
triadic
#D97CD3 #D3D97C #7CD3D9
tetradic
#D97CD3 #D9B17C #7CD982 #7CA5D9
square
#D97CD3 #D9B17C #7CD982 #7CA5D9
split-complementary
#D97CD3 #A5D97C #7CD9B1
monochromatic
#A931A2 #CB4DC3 #D97CD3 #E7ABE3 #F5DBF3
Accessibility & contrast
On white
2.70
#D97CD3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#D97CD3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97CD3
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97CD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97CD3 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7795D6
Deuteranopia (green-blind)
#90A2D0
Tritanopia (blue-blind)
#DF849E
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d97cd3; /* rgb */ color: rgb(217, 124, 211); /* oklch */ color: oklch(71.7% 0.158 329.4);
Tailwind
colors: {
custom: {
50: '#e6a4e0',
500: '#d97cd3',
950: '#000000',
},
}SCSS
$custom: #d97cd3; $custom-light: #e6a4e0; $custom-dark: #000000;
JSON
{
"hex": "#d97cd3",
"rgb": {
"r": 217,
"g": 124,
"b": 211
},
"hsl": {
"h": 303.871,
"s": 55.03,
"l": 66.863
},
"oklch": {
"l": 0.71677,
"c": 0.15818,
"h": 329.4
},
"luminance": 0.3387
}Semantic roles & 50–950 ramp
primary
#D97CD3
secondary
#CAE7CB
accent
#C32D23
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83