#D97CF9#D97CF9
#D97CF9 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.5% C 0.195 H 316.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #D97CF9 |
|---|---|
| RGB | rgb(217, 124, 249) |
| HSL | hsl(285, 91%, 73%) |
| HSV | hsv(285, 50%, 98%) |
| CMYK | cmyk(12.9%, 50.2%, 0%, 2.4%) |
| CIE-LAB | lab(66.53, 55.62, -47.99) |
| CIE-LCH | lch(66.53, 73.46, 319.21°) |
| OKLab | oklab(73.46% 0.1424 -0.1334) |
| OKLCH | oklch(73.46% 0.195 316.9) |
| XYZ | xyz(52.9193, 36.0083, 93.7668) |
| Luminance | 0.3601 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.88
Violet (CSS)
#EE82EE
ΔE00 5.27
Easter Purple
#C071FE
ΔE00 5.67
Liliac
#C48EFD
ΔE00 5.83
Purply Pink
#F075E6
ΔE00 5.97
Orchid
#DA70D6
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97CF9 #9CF97C
analogous
#9A7CF9 #D97CF9 #F97CDA
triadic
#D97CF9 #F9D97C #7CF9D9
tetradic
#D97CF9 #F99A7C #9CF97C #7CDAF9
square
#D97CF9 #F99A7C #9CF97C #7CDAF9
split-complementary
#D97CF9 #DAF97C #7CF99A
monochromatic
#B50BF0 #C841F6 #D97CF9 #EAB7FC #F7E2FE
Accessibility & contrast
On white
2.56
#D97CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#D97CF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97CF9
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97CF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97CF9 | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639CFD
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#D88FAF
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d97cf9; /* rgb */ color: rgb(217, 124, 249); /* oklch */ color: oklch(73.5% 0.195 316.9);
Tailwind
colors: {
custom: {
50: '#e7a5fc',
500: '#d97cf9',
950: '#000000',
},
}SCSS
$custom: #d97cf9; $custom-light: #e7a5fc; $custom-dark: #000000;
JSON
{
"hex": "#d97cf9",
"rgb": {
"r": 217,
"g": 124,
"b": 249
},
"hsl": {
"h": 284.64,
"s": 91.241,
"l": 73.137
},
"oklch": {
"l": 0.7346,
"c": 0.19509,
"h": 316.9
},
"luminance": 0.36007
}Semantic roles & 50–950 ramp
primary
#D97CF9
secondary
#DEF6D5
accent
#E6003B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85