#D491FC#D491FC
#D491FC is a light, vivid violet. Relative luminance 0.413; OKLCH L 76.2% C 0.162 H 311.9°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #D491FC |
|---|---|
| RGB | rgb(212, 145, 252) |
| HSL | hsl(278, 95%, 78%) |
| HSV | hsv(278, 42%, 99%) |
| CMYK | cmyk(15.9%, 42.5%, 0%, 1.2%) |
| CIE-LAB | lab(70.37, 43.98, -43.63) |
| CIE-LCH | lch(70.37, 61.95, 315.23°) |
| OKLab | oklab(76.25% 0.1085 -0.121) |
| OKLCH | oklch(76.25% 0.162 311.9) |
| XYZ | xyz(54.8444, 41.2771, 97.1547) |
| Luminance | 0.4128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.28
Baby Purple
#CA9BF7
ΔE00 3.43
Pastel Purple
#CAA0FF
ΔE00 4.59
Lilac (survey)
#CEA2FD
ΔE00 4.61
Lavender (survey)
#C79FEF
ΔE00 5.26
Violet (CSS)
#EE82EE
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D491FC #B9FC91
analogous
#9E91FC #D491FC #FC91EE
triadic
#D491FC #FCD491 #91FCD4
tetradic
#D491FC #FC9E91 #B9FC91 #91EEFC
square
#D491FC #FC9E91 #B9FC91 #91EEFC
split-complementary
#D491FC #EEFC91 #91FC9E
monochromatic
#A51AF9 #BD55FA #D491FC #EBCDFE #F3E1FE
Accessibility & contrast
On white
2.27
#D491FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#D491FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D491FC
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D491FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D491FC | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#8CAEF9
Tritanopia (blue-blind)
#D0A1BB
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #d491fc; /* rgb */ color: rgb(212, 145, 252); /* oklch */ color: oklch(76.2% 0.162 311.9);
Tailwind
colors: {
custom: {
50: '#e3b2fe',
500: '#d491fc',
950: '#000000',
},
}SCSS
$custom: #d491fc; $custom-light: #e3b2fe; $custom-dark: #000000;
JSON
{
"hex": "#d491fc",
"rgb": {
"r": 212,
"g": 145,
"b": 252
},
"hsl": {
"h": 277.57,
"s": 94.69,
"l": 77.843
},
"oklch": {
"l": 0.76246,
"c": 0.16249,
"h": 311.9
},
"luminance": 0.41276
}Semantic roles & 50–950 ramp
primary
#D491FC
secondary
#E1F6D5
accent
#E60056
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086