#D497FC#D497FC
#D497FC is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.2% C 0.153 H 311.0°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D497FC |
|---|---|
| RGB | rgb(212, 151, 252) |
| HSL | hsl(276, 94%, 79%) |
| HSV | hsv(276, 40%, 99%) |
| CMYK | cmyk(15.9%, 40.1%, 0%, 1.2%) |
| CIE-LAB | lab(71.66, 40.77, -41.61) |
| CIE-LCH | lch(71.66, 58.26, 314.42°) |
| OKLab | oklab(77.22% 0.1001 -0.1152) |
| OKLCH | oklch(77.22% 0.153 311) |
| XYZ | xyz(55.7856, 43.1594, 97.4684) |
| Luminance | 0.4316 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.35
Lilac (survey)
#CEA2FD
ΔE00 3.26
Pastel Purple
#CAA0FF
ΔE00 3.45
Liliac
#C48EFD
ΔE00 3.82
Lavender (survey)
#C79FEF
ΔE00 4.10
Mauve
#E0B0FF
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D497FC #BFFC97
analogous
#A297FC #D497FC #FC97F1
triadic
#D497FC #FCD497 #97FCD4
tetradic
#D497FC #FCA297 #BFFC97 #97F1FC
square
#D497FC #FCA297 #BFFC97 #97F1FC
split-complementary
#D497FC #F1FC97 #97FCA2
monochromatic
#A320F9 #BB5CFA #D497FC #EDD2FE #F3E1FE
Accessibility & contrast
On white
2.18
#D497FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#D497FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D497FC
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D497FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D497FC | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#D0A6BE
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d497fc; /* rgb */ color: rgb(212, 151, 252); /* oklch */ color: oklch(77.2% 0.153 311.0);
Tailwind
colors: {
custom: {
50: '#e3b6fd',
500: '#d497fc',
950: '#000000',
},
}SCSS
$custom: #d497fc; $custom-light: #e3b6fd; $custom-dark: #000000;
JSON
{
"hex": "#d497fc",
"rgb": {
"r": 212,
"g": 151,
"b": 252
},
"hsl": {
"h": 276.238,
"s": 94.393,
"l": 79.02
},
"oklch": {
"l": 0.77219,
"c": 0.15262,
"h": 311
},
"luminance": 0.43159
}Semantic roles & 50–950 ramp
primary
#D497FC
secondary
#E2F6D5
accent
#E6005B
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086