#D97CD2#D97CD2
#D97CD2 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.6% C 0.157 H 329.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #D97CD2 |
|---|---|
| RGB | rgb(217, 124, 210) |
| HSL | hsl(305, 55%, 67%) |
| HSV | hsv(305, 43%, 85%) |
| CMYK | cmyk(0%, 42.9%, 3.2%, 14.9%) |
| CIE-LAB | lab(64.82, 48.29, -29.05) |
| CIE-LCH | lch(64.82, 56.35, 328.97°) |
| OKLab | oklab(71.64% 0.136 -0.079) |
| OKLCH | oklch(71.64% 0.157 329.8) |
| XYZ | xyz(47.4552, 33.8226, 64.9891) |
| Luminance | 0.3382 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.18
Orchid
#DA70D6
ΔE00 2.93
Orchid (survey)
#C875C4
ΔE00 3.67
Purply Pink
#F075E6
ΔE00 4.40
Violet (CSS)
#EE82EE
ΔE00 4.98
Candy Pink
#FF63E9
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97CD2 #7CD983
analogous
#B27CD9 #D97CD2 #D97CA4
triadic
#D97CD2 #D2D97C #7CD2D9
tetradic
#D97CD2 #D9B27C #7CD983 #7CA4D9
square
#D97CD2 #D9B27C #7CD983 #7CA4D9
split-complementary
#D97CD2 #A4D97C #7CD9B2
monochromatic
#A931A0 #CB4DC2 #D97CD2 #E7ABE2 #F5DBF3
Accessibility & contrast
On white
2.70
#D97CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#D97CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97CD2
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97CD2 | 1.00 | 2.70 | 7.76 | 7.76 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7795D5
Deuteranopia (green-blind)
#91A2CF
Tritanopia (blue-blind)
#DF839D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d97cd2; /* rgb */ color: rgb(217, 124, 210); /* oklch */ color: oklch(71.6% 0.157 329.8);
Tailwind
colors: {
custom: {
50: '#e6a4e0',
500: '#d97cd2',
950: '#000000',
},
}SCSS
$custom: #d97cd2; $custom-light: #e6a4e0; $custom-dark: #000000;
JSON
{
"hex": "#d97cd2",
"rgb": {
"r": 217,
"g": 124,
"b": 210
},
"hsl": {
"h": 304.516,
"s": 55.03,
"l": 66.863
},
"oklch": {
"l": 0.71635,
"c": 0.15728,
"h": 329.8
},
"luminance": 0.3382
}Semantic roles & 50–950 ramp
primary
#D97CD2
secondary
#CAE7CC
accent
#C32F23
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83