#D97FFA#D97FFA
#D97FFA is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.9% C 0.191 H 316.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #D97FFA |
|---|---|
| RGB | rgb(217, 127, 250) |
| HSL | hsl(284, 92%, 74%) |
| HSV | hsv(284, 49%, 98%) |
| CMYK | cmyk(13.2%, 49.2%, 0%, 2%) |
| CIE-LAB | lab(67.15, 54.31, -47.55) |
| CIE-LCH | lch(67.15, 72.19, 318.79°) |
| OKLab | oklab(73.94% 0.1385 -0.1321) |
| OKLCH | oklch(73.94% 0.191 316.3) |
| XYZ | xyz(53.4574, 36.8342, 94.7177) |
| Luminance | 0.3683 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 5.08
Violet (CSS)
#EE82EE
ΔE00 5.17
Liliac
#C48EFD
ΔE00 5.39
Easter Purple
#C071FE
ΔE00 5.96
Purply Pink
#F075E6
ΔE00 6.15
Orchid
#DA70D6
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97FFA #A0FA7F
analogous
#9C7FFA #D97FFA #FA7FDE
triadic
#D97FFA #FAD97F #7FFAD9
tetradic
#D97FFA #FA9C7F #A0FA7F #7FDEFA
square
#D97FFA #FA9C7F #A0FA7F #7FDEFA
split-complementary
#D97FFA #DEFA7F #7FFA9C
monochromatic
#B60AF5 #C844F8 #D97FFA #EABAFC #F6E2FE
Accessibility & contrast
On white
2.51
#D97FFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#D97FFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97FFA
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97FFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97FFA | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#D891B1
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d97ffa; /* rgb */ color: rgb(217, 127, 250); /* oklch */ color: oklch(73.9% 0.191 316.3);
Tailwind
colors: {
custom: {
50: '#e7a7fc',
500: '#d97ffa',
950: '#000000',
},
}SCSS
$custom: #d97ffa; $custom-light: #e7a7fc; $custom-dark: #000000;
JSON
{
"hex": "#d97ffa",
"rgb": {
"r": 217,
"g": 127,
"b": 250
},
"hsl": {
"h": 283.902,
"s": 92.481,
"l": 73.922
},
"oklch": {
"l": 0.73939,
"c": 0.19142,
"h": 316.3
},
"luminance": 0.36833
}Semantic roles & 50–950 ramp
primary
#D97FFA
secondary
#DEF6D5
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85