#D97FF9#D97FF9
#D97FF9 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.9% C 0.190 H 316.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #D97FF9 |
|---|---|
| RGB | rgb(217, 127, 249) |
| HSL | hsl(284, 91%, 74%) |
| HSV | hsv(284, 49%, 98%) |
| CMYK | cmyk(12.9%, 49%, 0%, 2.4%) |
| CIE-LAB | lab(67.11, 54.11, -47.08) |
| CIE-LCH | lch(67.11, 71.72, 318.97°) |
| OKLab | oklab(73.89% 0.1384 -0.1308) |
| OKLCH | oklch(73.89% 0.19 316.6) |
| XYZ | xyz(53.3010, 36.7717, 93.8941) |
| Luminance | 0.3677 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 5.06
Light Purple
#BF77F6
ΔE00 5.13
Liliac
#C48EFD
ΔE00 5.45
Purply Pink
#F075E6
ΔE00 6.03
Easter Purple
#C071FE
ΔE00 6.04
Orchid
#DA70D6
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97FF9 #9FF97F
analogous
#9C7FF9 #D97FF9 #F97FDC
triadic
#D97FF9 #F9D97F #7FF9D9
tetradic
#D97FF9 #F99C7F #9FF97F #7FDCF9
square
#D97FF9 #F99C7F #9FF97F #7FDCF9
split-complementary
#D97FF9 #DCF97F #7FF99C
monochromatic
#B60BF2 #C845F6 #D97FF9 #EAB9FC #F6E2FE
Accessibility & contrast
On white
2.51
#D97FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#D97FF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97FF9
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97FF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97FF9 | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679EFD
Deuteranopia (green-blind)
#82A6F6
Tritanopia (blue-blind)
#D891B1
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d97ff9; /* rgb */ color: rgb(217, 127, 249); /* oklch */ color: oklch(73.9% 0.190 316.6);
Tailwind
colors: {
custom: {
50: '#e7a7fc',
500: '#d97ff9',
950: '#000000',
},
}SCSS
$custom: #d97ff9; $custom-light: #e7a7fc; $custom-dark: #000000;
JSON
{
"hex": "#d97ff9",
"rgb": {
"r": 217,
"g": 127,
"b": 249
},
"hsl": {
"h": 284.262,
"s": 91.045,
"l": 73.725
},
"oklch": {
"l": 0.73889,
"c": 0.19038,
"h": 316.6
},
"luminance": 0.3677
}Semantic roles & 50–950 ramp
primary
#D97FF9
secondary
#DEF6D5
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85