#D97FF6#D97FF6
#D97FF6 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.7% C 0.187 H 317.5°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #D97FF6 |
|---|---|
| RGB | rgb(217, 127, 246) |
| HSL | hsl(285, 87%, 73%) |
| HSV | hsv(285, 48%, 96%) |
| CMYK | cmyk(11.8%, 48.4%, 0%, 3.5%) |
| CIE-LAB | lab(66.97, 53.51, -45.66) |
| CIE-LCH | lch(66.97, 70.34, 319.53°) |
| OKLab | oklab(73.74% 0.138 -0.1266) |
| OKLCH | oklch(73.74% 0.187 317.5) |
| XYZ | xyz(52.8368, 36.5860, 91.4494) |
| Luminance | 0.3658 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.73
Light Purple
#BF77F6
ΔE00 5.32
Liliac
#C48EFD
ΔE00 5.66
Purply Pink
#F075E6
ΔE00 5.67
Orchid
#DA70D6
ΔE00 6.02
Easter Purple
#C071FE
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97FF6 #9CF67F
analogous
#9D7FF6 #D97FF6 #F67FD7
triadic
#D97FF6 #F6D97F #7FF6D9
tetradic
#D97FF6 #F69D7F #9CF67F #7FD7F6
square
#D97FF6 #F69D7F #9CF67F #7FD7F6
split-complementary
#D97FF6 #D7F67F #7FF69D
monochromatic
#B510EA #C846F2 #D97FF6 #EAB8FA #F7E2FD
Accessibility & contrast
On white
2.53
#D97FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#D97FF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97FF6
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97FF6 | 1.00 | 2.53 | 8.32 | 8.32 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#83A6F3
Tritanopia (blue-blind)
#D890AF
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d97ff6; /* rgb */ color: rgb(217, 127, 246); /* oklch */ color: oklch(73.7% 0.187 317.5);
Tailwind
colors: {
custom: {
50: '#e7a7f9',
500: '#d97ff6',
950: '#000000',
},
}SCSS
$custom: #d97ff6; $custom-light: #e7a7f9; $custom-dark: #000000;
JSON
{
"hex": "#d97ff6",
"rgb": {
"r": 217,
"g": 127,
"b": 246
},
"hsl": {
"h": 285.378,
"s": 86.861,
"l": 73.137
},
"oklch": {
"l": 0.73739,
"c": 0.1873,
"h": 317.5
},
"luminance": 0.36584
}Semantic roles & 50–950 ramp
primary
#D97FF6
secondary
#DEF5D6
accent
#E30239
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85