#D97FF5#D97FF5
#D97FF5 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.7% C 0.186 H 317.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #D97FF5 |
|---|---|
| RGB | rgb(217, 127, 245) |
| HSL | hsl(286, 86%, 73%) |
| HSV | hsv(286, 48%, 96%) |
| CMYK | cmyk(11.4%, 48.2%, 0%, 3.9%) |
| CIE-LAB | lab(66.92, 53.31, -45.18) |
| CIE-LCH | lch(66.92, 69.88, 319.72°) |
| OKLab | oklab(73.69% 0.1379 -0.1253) |
| OKLCH | oklch(73.69% 0.186 317.7) |
| XYZ | xyz(52.6838, 36.5248, 90.6433) |
| Luminance | 0.3652 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.62
Light Purple
#BF77F6
ΔE00 5.39
Purply Pink
#F075E6
ΔE00 5.56
Liliac
#C48EFD
ΔE00 5.73
Orchid
#DA70D6
ΔE00 5.88
Easter Purple
#C071FE
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97FF5 #9BF57F
analogous
#9E7FF5 #D97FF5 #F57FD6
triadic
#D97FF5 #F5D97F #7FF5D9
tetradic
#D97FF5 #F59E7F #9BF57F #7FD6F5
square
#D97FF5 #F59E7F #9BF57F #7FD6F5
split-complementary
#D97FF5 #D6F57F #7FF59E
monochromatic
#B512E8 #C846F1 #D97FF5 #EAB8F9 #F7E3FD
Accessibility & contrast
On white
2.53
#D97FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#D97FF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97FF5
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97FF5 | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699DF9
Deuteranopia (green-blind)
#84A6F2
Tritanopia (blue-blind)
#D990AF
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d97ff5; /* rgb */ color: rgb(217, 127, 245); /* oklch */ color: oklch(73.7% 0.186 317.7);
Tailwind
colors: {
custom: {
50: '#e7a7f9',
500: '#d97ff5',
950: '#000000',
},
}SCSS
$custom: #d97ff5; $custom-light: #e7a7f9; $custom-dark: #000000;
JSON
{
"hex": "#d97ff5",
"rgb": {
"r": 217,
"g": 127,
"b": 245
},
"hsl": {
"h": 285.763,
"s": 85.507,
"l": 72.941
},
"oklch": {
"l": 0.7369,
"c": 0.18627,
"h": 317.7
},
"luminance": 0.36523
}Semantic roles & 50–950 ramp
primary
#D97FF5
secondary
#DDF5D6
accent
#E20338
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85