#D97CDC#D97CDC
#D97CDC is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.1% C 0.166 H 326.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #D97CDC |
|---|---|
| RGB | rgb(217, 124, 220) |
| HSL | hsl(298, 58%, 67%) |
| HSV | hsv(298, 44%, 86%) |
| CMYK | cmyk(1.4%, 43.6%, 0%, 13.7%) |
| CIE-LAB | lab(65.23, 50.08, -34.00) |
| CIE-LCH | lch(65.23, 60.53, 325.83°) |
| OKLab | oklab(72.07% 0.138 -0.0931) |
| OKLCH | oklch(72.07% 0.166 326) |
| XYZ | xyz(48.7401, 34.3366, 71.7566) |
| Luminance | 0.3433 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.62
Lavender Pink
#DD85D7
ΔE00 2.92
Purply Pink
#F075E6
ΔE00 3.77
Violet (CSS)
#EE82EE
ΔE00 4.00
Orchid (survey)
#C875C4
ΔE00 4.59
Candy Pink
#FF63E9
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97CDC #7FDC7C
analogous
#A97CDC #D97CDC #DC7CAF
triadic
#D97CDC #DCD97C #7CDCD9
tetradic
#D97CDC #DCA97C #7FDC7C #7CAFDC
square
#D97CDC #DCA97C #7FDC7C #7CAFDC
split-complementary
#D97CDC #AFDC7C #7CDCA9
monochromatic
#AB2FAF #CB4CCF #D97CDC #E7ACE9 #F5DDF6
Accessibility & contrast
On white
2.67
#D97CDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#D97CDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97CDC
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97CDC | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#8DA3D9
Tritanopia (blue-blind)
#DE86A2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #d97cdc; /* rgb */ color: rgb(217, 124, 220); /* oklch */ color: oklch(72.1% 0.166 326.0);
Tailwind
colors: {
custom: {
50: '#e6a4e7',
500: '#d97cdc',
950: '#000000',
},
}SCSS
$custom: #d97cdc; $custom-light: #e6a4e7; $custom-dark: #000000;
JSON
{
"hex": "#d97cdc",
"rgb": {
"r": 217,
"g": 124,
"b": 220
},
"hsl": {
"h": 298.125,
"s": 57.831,
"l": 67.451
},
"oklch": {
"l": 0.72073,
"c": 0.16649,
"h": 326
},
"luminance": 0.34334
}Semantic roles & 50–950 ramp
primary
#D97CDC
secondary
#CCE9CB
accent
#C52025
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84