#DE97F2#DE97F2
#DE97F2 is a light, vivid purple. Relative luminance 0.441; OKLCH L 77.8% C 0.146 H 318.6°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #DE97F2 |
|---|---|
| RGB | rgb(222, 151, 242) |
| HSL | hsl(287, 78%, 77%) |
| HSV | hsv(287, 38%, 95%) |
| CMYK | cmyk(8.3%, 37.6%, 0%, 5.1%) |
| CIE-LAB | lab(72.28, 41.67, -35.13) |
| CIE-LCH | lch(72.28, 54.50, 319.86°) |
| OKLab | oklab(77.78% 0.1095 -0.0964) |
| OKLCH | oklch(77.78% 0.146 318.6) |
| XYZ | xyz(57.2157, 44.0752, 89.4806) |
| Luminance | 0.4407 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 4.77
Violet (CSS)
#EE82EE
ΔE00 5.35
Lilac (survey)
#CEA2FD
ΔE00 5.35
Lavender (survey)
#C79FEF
ΔE00 5.38
Plum
#DDA0DD
ΔE00 5.75
Lavender Pink
#DD85D7
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DE97F2 #ABF297
analogous
#B197F2 #DE97F2 #F297D9
triadic
#DE97F2 #F2DE97 #97F2DE
tetradic
#DE97F2 #F2B197 #ABF297 #97D9F2
square
#DE97F2 #F2B197 #ABF297 #97D9F2
split-complementary
#DE97F2 #D9F297 #97F2B1
monochromatic
#BB2AE4 #CD61EB #DE97F2 #EFCDF9 #F6E4FC
Accessibility & contrast
On white
2.14
#DE97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.81
#DE97F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DE97F2
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DE97F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DE97F2 | 1.00 | 2.14 | 9.81 | 9.81 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AACF5
Deuteranopia (green-blind)
#9CB4EF
Tritanopia (blue-blind)
#DFA2B9
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #de97f2; /* rgb */ color: rgb(222, 151, 242); /* oklch */ color: oklch(77.8% 0.146 318.6);
Tailwind
colors: {
custom: {
50: '#e9b7f6',
500: '#de97f2',
950: '#000000',
},
}SCSS
$custom: #de97f2; $custom-light: #e9b7f6; $custom-dark: #000000;
JSON
{
"hex": "#de97f2",
"rgb": {
"r": 222,
"g": 151,
"b": 242
},
"hsl": {
"h": 286.813,
"s": 77.778,
"l": 77.059
},
"oklch": {
"l": 0.7778,
"c": 0.14595,
"h": 318.6
},
"luminance": 0.44074
}Semantic roles & 50–950 ramp
primary
#DE97F2
secondary
#DEF3D8
accent
#DA0B39
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085