#D97CF7#D97CF7
#D97CF7 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.4% C 0.193 H 317.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #D97CF7 |
|---|---|
| RGB | rgb(217, 124, 247) |
| HSL | hsl(285, 88%, 73%) |
| HSV | hsv(285, 50%, 97%) |
| CMYK | cmyk(12.1%, 49.8%, 0%, 3.1%) |
| CIE-LAB | lab(66.43, 55.22, -47.05) |
| CIE-LCH | lch(66.43, 72.54, 319.57°) |
| OKLab | oklab(73.36% 0.1421 -0.1306) |
| OKLCH | oklch(73.36% 0.193 317.4) |
| XYZ | xyz(52.6090, 35.8842, 92.1327) |
| Luminance | 0.3588 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 5.00
Violet (CSS)
#EE82EE
ΔE00 5.06
Purply Pink
#F075E6
ΔE00 5.73
Easter Purple
#C071FE
ΔE00 5.83
Orchid
#DA70D6
ΔE00 5.94
Liliac
#C48EFD
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97CF7 #9AF77C
analogous
#9C7CF7 #D97CF7 #F77CD7
triadic
#D97CF7 #F7D97C #7CF7D9
tetradic
#D97CF7 #F79C7C #9AF77C #7CD7F7
square
#D97CF7 #F79C7C #9AF77C #7CD7F7
split-complementary
#D97CF7 #D7F77C #7CF79C
monochromatic
#B50EEA #C842F3 #D97CF7 #EAB6FB #F7E2FD
Accessibility & contrast
On white
2.57
#D97CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#D97CF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97CF7
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97CF7 | 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)
#649CFB
Deuteranopia (green-blind)
#80A5F4
Tritanopia (blue-blind)
#D88EAE
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d97cf7; /* rgb */ color: rgb(217, 124, 247); /* oklch */ color: oklch(73.4% 0.193 317.4);
Tailwind
colors: {
custom: {
50: '#e7a5fa',
500: '#d97cf7',
950: '#000000',
},
}SCSS
$custom: #d97cf7; $custom-light: #e7a5fa; $custom-dark: #000000;
JSON
{
"hex": "#d97cf7",
"rgb": {
"r": 217,
"g": 124,
"b": 247
},
"hsl": {
"h": 285.366,
"s": 88.489,
"l": 72.745
},
"oklch": {
"l": 0.73359,
"c": 0.19306,
"h": 317.4
},
"luminance": 0.35882
}Semantic roles & 50–950 ramp
primary
#D97CF7
secondary
#DDF5D6
accent
#E50038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85