#D97DF4#D97DF4
#D97DF4 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.4% C 0.188 H 318.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #D97DF4 |
|---|---|
| RGB | rgb(217, 125, 244) |
| HSL | hsl(286, 84%, 72%) |
| HSV | hsv(286, 49%, 96%) |
| CMYK | cmyk(11.1%, 48.8%, 0%, 4.3%) |
| CIE-LAB | lab(66.48, 54.13, -45.31) |
| CIE-LCH | lch(66.48, 70.59, 320.06°) |
| OKLab | oklab(73.35% 0.1404 -0.1256) |
| OKLCH | oklch(73.35% 0.188 318.2) |
| XYZ | xyz(52.2758, 35.9524, 89.7562) |
| Luminance | 0.3595 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.67
Light Purple
#BF77F6
ΔE00 5.29
Purply Pink
#F075E6
ΔE00 5.39
Orchid
#DA70D6
ΔE00 5.58
Liliac
#C48EFD
ΔE00 6.04
Easter Purple
#C071FE
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97DF4 #98F47D
analogous
#9E7DF4 #D97DF4 #F47DD3
triadic
#D97DF4 #F4D97D #7DF4D9
tetradic
#D97DF4 #F49E7D #98F47D #7DD3F4
square
#D97DF4 #F49E7D #98F47D #7DD3F4
split-complementary
#D97DF4 #D3F47D #7DF49E
monochromatic
#B413E3 #C945EF #D97DF4 #E9B5F9 #F7E3FD
Accessibility & contrast
On white
2.56
#D97DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#D97DF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97DF4
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97DF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97DF4 | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679CF8
Deuteranopia (green-blind)
#83A5F1
Tritanopia (blue-blind)
#D98EAD
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d97df4; /* rgb */ color: rgb(217, 125, 244); /* oklch */ color: oklch(73.4% 0.188 318.2);
Tailwind
colors: {
custom: {
50: '#e7a5f8',
500: '#d97df4',
950: '#000000',
},
}SCSS
$custom: #d97df4; $custom-light: #e7a5f8; $custom-dark: #000000;
JSON
{
"hex": "#d97df4",
"rgb": {
"r": 217,
"g": 125,
"b": 244
},
"hsl": {
"h": 286.387,
"s": 84.397,
"l": 72.353
},
"oklch": {
"l": 0.73352,
"c": 0.18844,
"h": 318.2
},
"luminance": 0.35951
}Semantic roles & 50–950 ramp
primary
#D97DF4
secondary
#DDF5D6
accent
#E10537
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85