#D497FA#D497FA
#D497FA is a light, vivid violet. Relative luminance 0.430; OKLCH L 77.1% C 0.150 H 311.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #D497FA |
|---|---|
| RGB | rgb(212, 151, 250) |
| HSL | hsl(277, 91%, 79%) |
| HSV | hsv(277, 40%, 98%) |
| CMYK | cmyk(15.2%, 39.6%, 0%, 2%) |
| CIE-LAB | lab(71.58, 40.35, -40.66) |
| CIE-LCH | lch(71.58, 57.28, 314.79°) |
| OKLab | oklab(77.13% 0.0997 -0.1125) |
| OKLCH | oklch(77.13% 0.15 311.6) |
| XYZ | xyz(55.4703, 43.0333, 95.8081) |
| Luminance | 0.4303 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.34
Lilac (survey)
#CEA2FD
ΔE00 3.30
Pastel Purple
#CAA0FF
ΔE00 3.57
Lavender (survey)
#C79FEF
ΔE00 3.96
Liliac
#C48EFD
ΔE00 4.02
Mauve
#E0B0FF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D497FA #BDFA97
analogous
#A297FA #D497FA #FA97EE
triadic
#D497FA #FAD497 #97FAD4
tetradic
#D497FA #FAA297 #BDFA97 #97EEFA
square
#D497FA #FAA297 #BDFA97 #97EEFA
split-complementary
#D497FA #EEFA97 #97FAA2
monochromatic
#A422F4 #BC5DF7 #D497FA #ECD1FD #F3E2FE
Accessibility & contrast
On white
2.19
#D497FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#D497FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D497FA
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D497FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D497FA | 1.00 | 2.19 | 9.61 | 9.61 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#93B1F7
Tritanopia (blue-blind)
#D0A5BD
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #d497fa; /* rgb */ color: rgb(212, 151, 250); /* oklch */ color: oklch(77.1% 0.150 311.6);
Tailwind
colors: {
custom: {
50: '#e2b6fc',
500: '#d497fa',
950: '#000000',
},
}SCSS
$custom: #d497fa; $custom-light: #e2b6fc; $custom-dark: #000000;
JSON
{
"hex": "#d497fa",
"rgb": {
"r": 212,
"g": 151,
"b": 250
},
"hsl": {
"h": 276.97,
"s": 90.826,
"l": 78.627
},
"oklch": {
"l": 0.77126,
"c": 0.15031,
"h": 311.6
},
"luminance": 0.43032
}Semantic roles & 50–950 ramp
primary
#D497FA
secondary
#E2F6D5
accent
#E60058
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085