#D97CF8#D97CF8
#D97CF8 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.4% C 0.194 H 317.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #D97CF8 |
|---|---|
| RGB | rgb(217, 124, 248) |
| HSL | hsl(285, 90%, 73%) |
| HSV | hsv(285, 50%, 97%) |
| CMYK | cmyk(12.5%, 50%, 0%, 2.7%) |
| CIE-LAB | lab(66.48, 55.42, -47.52) |
| CIE-LCH | lch(66.48, 73.00, 319.39°) |
| OKLab | oklab(73.41% 0.1422 -0.132) |
| OKLCH | oklch(73.41% 0.194 317.1) |
| XYZ | xyz(52.7638, 35.9461, 92.9476) |
| Luminance | 0.3594 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.94
Violet (CSS)
#EE82EE
ΔE00 5.16
Easter Purple
#C071FE
ΔE00 5.75
Purply Pink
#F075E6
ΔE00 5.85
Liliac
#C48EFD
ΔE00 5.89
Orchid
#DA70D6
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97CF8 #9BF87C
analogous
#9B7CF8 #D97CF8 #F87CD9
triadic
#D97CF8 #F8D97C #7CF8D9
tetradic
#D97CF8 #F89B7C #9BF87C #7CD9F8
square
#D97CF8 #F89B7C #9BF87C #7CD9F8
split-complementary
#D97CF8 #D9F87C #7CF89B
monochromatic
#B50DED #C842F5 #D97CF8 #EAB6FB #F7E2FD
Accessibility & contrast
On white
2.56
#D97CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#D97CF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97CF8
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97CF8 | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639CFC
Deuteranopia (green-blind)
#80A5F5
Tritanopia (blue-blind)
#D88EAF
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d97cf8; /* rgb */ color: rgb(217, 124, 248); /* oklch */ color: oklch(73.4% 0.194 317.1);
Tailwind
colors: {
custom: {
50: '#e7a5fb',
500: '#d97cf8',
950: '#000000',
},
}SCSS
$custom: #d97cf8; $custom-light: #e7a5fb; $custom-dark: #000000;
JSON
{
"hex": "#d97cf8",
"rgb": {
"r": 217,
"g": 124,
"b": 248
},
"hsl": {
"h": 285,
"s": 89.855,
"l": 72.941
},
"oklch": {
"l": 0.73409,
"c": 0.19407,
"h": 317.1
},
"luminance": 0.35944
}Semantic roles & 50–950 ramp
primary
#D97CF8
secondary
#DDF6D5
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85