#D97CF5#D97CF5
#D97CF5 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.3% C 0.191 H 318.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #D97CF5 |
|---|---|
| RGB | rgb(217, 124, 245) |
| HSL | hsl(286, 86%, 72%) |
| HSV | hsv(286, 49%, 96%) |
| CMYK | cmyk(11.4%, 49.4%, 0%, 3.9%) |
| CIE-LAB | lab(66.34, 54.83, -46.09) |
| CIE-LCH | lch(66.34, 71.63, 319.95°) |
| OKLab | oklab(73.26% 0.1419 -0.1279) |
| OKLCH | oklch(73.26% 0.191 318) |
| XYZ | xyz(52.3021, 35.7614, 90.5161) |
| Luminance | 0.3576 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.85
Light Purple
#BF77F6
ΔE00 5.13
Purply Pink
#F075E6
ΔE00 5.49
Orchid
#DA70D6
ΔE00 5.65
Easter Purple
#C071FE
ΔE00 6.01
Liliac
#C48EFD
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97CF5 #98F57C
analogous
#9D7CF5 #D97CF5 #F57CD4
triadic
#D97CF5 #F5D97C #7CF5D9
tetradic
#D97CF5 #F59D7C #98F57C #7CD4F5
square
#D97CF5 #F59D7C #98F57C #7CD4F5
split-complementary
#D97CF5 #D4F57C #7CF59D
monochromatic
#B411E5 #C943F1 #D97CF5 #E9B5F9 #F7E3FD
Accessibility & contrast
On white
2.58
#D97CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#D97CF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97CF5
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97CF5 | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#659BF9
Deuteranopia (green-blind)
#81A4F2
Tritanopia (blue-blind)
#D98DAD
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d97cf5; /* rgb */ color: rgb(217, 124, 245); /* oklch */ color: oklch(73.3% 0.191 318.0);
Tailwind
colors: {
custom: {
50: '#e7a5f9',
500: '#d97cf5',
950: '#000000',
},
}SCSS
$custom: #d97cf5; $custom-light: #e7a5f9; $custom-dark: #000000;
JSON
{
"hex": "#d97cf5",
"rgb": {
"r": 217,
"g": 124,
"b": 245
},
"hsl": {
"h": 286.116,
"s": 85.816,
"l": 72.353
},
"oklch": {
"l": 0.73259,
"c": 0.19103,
"h": 318
},
"luminance": 0.3576
}Semantic roles & 50–950 ramp
primary
#D97CF5
secondary
#DDF5D6
accent
#E20337
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85