#D497FD#D497FD
#D497FD is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.3% C 0.154 H 310.7°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #D497FD |
|---|---|
| RGB | rgb(212, 151, 253) |
| HSL | hsl(276, 96%, 79%) |
| HSV | hsv(276, 40%, 99%) |
| CMYK | cmyk(16.2%, 40.3%, 0%, 0.8%) |
| CIE-LAB | lab(71.71, 40.98, -42.08) |
| CIE-LCH | lch(71.71, 58.74, 314.24°) |
| OKLab | oklab(77.27% 0.1003 -0.1166) |
| OKLCH | oklch(77.27% 0.154 310.7) |
| XYZ | xyz(55.9444, 43.2230, 98.3052) |
| Luminance | 0.4322 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.37
Lilac (survey)
#CEA2FD
ΔE00 3.25
Pastel Purple
#CAA0FF
ΔE00 3.40
Liliac
#C48EFD
ΔE00 3.73
Lavender (survey)
#C79FEF
ΔE00 4.18
Mauve
#E0B0FF
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D497FD #C0FD97
analogous
#A197FD #D497FD #FD97F3
triadic
#D497FD #FDD497 #97FDD4
tetradic
#D497FD #FDA197 #C0FD97 #97F3FD
square
#D497FD #FDA197 #C0FD97 #97F3FD
split-complementary
#D497FD #F3FD97 #97FDA1
monochromatic
#A21FFB #BB5BFC #D497FD #EDD3FE #F3E1FE
Accessibility & contrast
On white
2.18
#D497FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#D497FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D497FD
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D497FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D497FD | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#91B1FA
Tritanopia (blue-blind)
#CFA6BE
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d497fd; /* rgb */ color: rgb(212, 151, 253); /* oklch */ color: oklch(77.3% 0.154 310.7);
Tailwind
colors: {
custom: {
50: '#e3b6fe',
500: '#d497fd',
950: '#000000',
},
}SCSS
$custom: #d497fd; $custom-light: #e3b6fe; $custom-dark: #000000;
JSON
{
"hex": "#d497fd",
"rgb": {
"r": 212,
"g": 151,
"b": 253
},
"hsl": {
"h": 275.882,
"s": 96.226,
"l": 79.216
},
"oklch": {
"l": 0.77265,
"c": 0.15378,
"h": 310.7
},
"luminance": 0.43222
}Semantic roles & 50–950 ramp
primary
#D497FD
secondary
#E2F7D4
accent
#E6005C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086