#D97DF9#D97DF9
#D97DF9 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.6% C 0.194 H 316.8°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #D97DF9 |
|---|---|
| RGB | rgb(217, 125, 249) |
| HSL | hsl(285, 91%, 73%) |
| HSV | hsv(285, 50%, 98%) |
| CMYK | cmyk(12.9%, 49.8%, 0%, 2.4%) |
| CIE-LAB | lab(66.72, 55.12, -47.69) |
| CIE-LCH | lch(66.72, 72.89, 319.13°) |
| OKLab | oklab(73.6% 0.141 -0.1325) |
| OKLCH | oklch(73.6% 0.194 316.8) |
| XYZ | xyz(53.0453, 36.2602, 93.8088) |
| Luminance | 0.3626 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.96
Violet (CSS)
#EE82EE
ΔE00 5.19
Liliac
#C48EFD
ΔE00 5.70
Easter Purple
#C071FE
ΔE00 5.79
Purply Pink
#F075E6
ΔE00 5.98
Orchid
#DA70D6
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97DF9 #9DF97D
analogous
#9B7DF9 #D97DF9 #F97DDB
triadic
#D97DF9 #F9D97D #7DF9D9
tetradic
#D97DF9 #F99B7D #9DF97D #7DDBF9
square
#D97DF9 #F99B7D #9DF97D #7DDBF9
split-complementary
#D97DF9 #DBF97D #7DF99B
monochromatic
#B50BF0 #C842F6 #D97DF9 #EAB7FC #F6E2FE
Accessibility & contrast
On white
2.54
#D97DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#D97DF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97DF9
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97DF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97DF9 | 1.00 | 2.54 | 8.25 | 8.25 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649CFD
Deuteranopia (green-blind)
#80A5F6
Tritanopia (blue-blind)
#D88FB0
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d97df9; /* rgb */ color: rgb(217, 125, 249); /* oklch */ color: oklch(73.6% 0.194 316.8);
Tailwind
colors: {
custom: {
50: '#e7a5fc',
500: '#d97df9',
950: '#000000',
},
}SCSS
$custom: #d97df9; $custom-light: #e7a5fc; $custom-dark: #000000;
JSON
{
"hex": "#d97df9",
"rgb": {
"r": 217,
"g": 125,
"b": 249
},
"hsl": {
"h": 284.516,
"s": 91.176,
"l": 73.333
},
"oklch": {
"l": 0.73602,
"c": 0.19353,
"h": 316.8
},
"luminance": 0.36258
}Semantic roles & 50–950 ramp
primary
#D97DF9
secondary
#DEF6D5
accent
#E6003B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85