#D97DF3#D97DF3
#D97DF3 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.3% C 0.187 H 318.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #D97DF3 |
|---|---|
| RGB | rgb(217, 125, 243) |
| HSL | hsl(287, 83%, 72%) |
| HSV | hsv(287, 49%, 95%) |
| CMYK | cmyk(10.7%, 48.6%, 0%, 4.7%) |
| CIE-LAB | lab(66.44, 53.93, -44.84) |
| CIE-LCH | lch(66.44, 70.14, 320.26°) |
| OKLab | oklab(73.3% 0.1403 -0.1243) |
| OKLCH | oklch(73.3% 0.187 318.5) |
| XYZ | xyz(52.1244, 35.8918, 88.9587) |
| Luminance | 0.3589 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.57
Purply Pink
#F075E6
ΔE00 5.28
Light Purple
#BF77F6
ΔE00 5.37
Orchid
#DA70D6
ΔE00 5.43
Liliac
#C48EFD
ΔE00 6.12
Lavender Pink
#DD85D7
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97DF3 #97F37D
analogous
#9E7DF3 #D97DF3 #F37DD2
triadic
#D97DF3 #F3D97D #7DF3D9
tetradic
#D97DF3 #F39E7D #97F37D #7DD2F3
square
#D97DF3 #F39E7D #97F37D #7DD2F3
split-complementary
#D97DF3 #D2F37D #7DF39E
monochromatic
#B415E1 #C945EE #D97DF3 #E9B5F8 #F7E3FC
Accessibility & contrast
On white
2.57
#D97DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#D97DF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97DF3
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97DF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97DF3 | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689BF7
Deuteranopia (green-blind)
#83A5F0
Tritanopia (blue-blind)
#D98EAD
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d97df3; /* rgb */ color: rgb(217, 125, 243); /* oklch */ color: oklch(73.3% 0.187 318.5);
Tailwind
colors: {
custom: {
50: '#e7a5f7',
500: '#d97df3',
950: '#000000',
},
}SCSS
$custom: #d97df3; $custom-light: #e7a5f7; $custom-dark: #000000;
JSON
{
"hex": "#d97df3",
"rgb": {
"r": 217,
"g": 125,
"b": 243
},
"hsl": {
"h": 286.78,
"s": 83.099,
"l": 72.157
},
"oklch": {
"l": 0.73302,
"c": 0.18742,
"h": 318.5
},
"luminance": 0.3589
}Semantic roles & 50–950 ramp
primary
#D97DF3
secondary
#DDF4D7
accent
#E00636
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85