#D97BF8#D97BF8
#D97BF8 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.3% C 0.196 H 317.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #D97BF8 |
|---|---|
| RGB | rgb(217, 123, 248) |
| HSL | hsl(285, 90%, 73%) |
| HSV | hsv(285, 50%, 97%) |
| CMYK | cmyk(12.5%, 50.4%, 0%, 2.7%) |
| CIE-LAB | lab(66.29, 55.92, -47.82) |
| CIE-LCH | lch(66.29, 73.58, 319.46°) |
| OKLab | oklab(73.27% 0.1436 -0.1329) |
| OKLCH | oklch(73.27% 0.196 317.2) |
| XYZ | xyz(52.6391, 35.6967, 92.9060) |
| Luminance | 0.3569 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.87
Violet (CSS)
#EE82EE
ΔE00 5.25
Easter Purple
#C071FE
ΔE00 5.64
Purply Pink
#F075E6
ΔE00 5.85
Liliac
#C48EFD
ΔE00 6.02
Orchid
#DA70D6
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97BF8 #9AF87B
analogous
#9A7BF8 #D97BF8 #F87BD8
triadic
#D97BF8 #F8D97B #7BF8D9
tetradic
#D97BF8 #F89A7B #9AF87B #7BD8F8
square
#D97BF8 #F89A7B #9AF87B #7BD8F8
split-complementary
#D97BF8 #D8F87B #7BF89A
monochromatic
#B50DEC #C841F5 #D97BF8 #EAB5FB #F7E2FD
Accessibility & contrast
On white
2.58
#D97BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#D97BF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97BF8
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97BF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97BF8 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#7FA4F5
Tritanopia (blue-blind)
#D88EAE
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d97bf8; /* rgb */ color: rgb(217, 123, 248); /* oklch */ color: oklch(73.3% 0.196 317.2);
Tailwind
colors: {
custom: {
50: '#e7a4fb',
500: '#d97bf8',
950: '#000000',
},
}SCSS
$custom: #d97bf8; $custom-light: #e7a4fb; $custom-dark: #000000;
JSON
{
"hex": "#d97bf8",
"rgb": {
"r": 217,
"g": 123,
"b": 248
},
"hsl": {
"h": 285.12,
"s": 89.928,
"l": 72.745
},
"oklch": {
"l": 0.73268,
"c": 0.19563,
"h": 317.2
},
"luminance": 0.35695
}Semantic roles & 50–950 ramp
primary
#D97BF8
secondary
#DDF6D5
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85