#D291FC#D291FC
#D291FC is a light, vivid violet. Relative luminance 0.410; OKLCH L 76.0% C 0.162 H 311.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #D291FC |
|---|---|
| RGB | rgb(210, 145, 252) |
| HSL | hsl(276, 95%, 78%) |
| HSV | hsv(276, 42%, 99%) |
| CMYK | cmyk(16.7%, 42.5%, 0%, 1.2%) |
| CIE-LAB | lab(70.16, 43.42, -43.97) |
| CIE-LCH | lch(70.16, 61.79, 314.64°) |
| OKLab | oklab(76.04% 0.1061 -0.122) |
| OKLCH | oklch(76.04% 0.162 311) |
| XYZ | xyz(54.2713, 40.9816, 97.1278) |
| Luminance | 0.4098 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.90
Baby Purple
#CA9BF7
ΔE00 3.24
Pastel Purple
#CAA0FF
ΔE00 4.38
Lilac (survey)
#CEA2FD
ΔE00 4.49
Lavender (survey)
#C79FEF
ΔE00 5.13
Light Purple
#BF77F6
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D291FC #BBFC91
analogous
#9D91FC #D291FC #FC91F0
triadic
#D291FC #FCD291 #91FCD2
tetradic
#D291FC #FC9D91 #BBFC91 #91F0FC
square
#D291FC #FC9D91 #BBFC91 #91F0FC
split-complementary
#D291FC #F0FC91 #91FC9D
monochromatic
#A11AF9 #BA55FA #D291FC #EACDFE #F3E1FE
Accessibility & contrast
On white
2.28
#D291FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#D291FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D291FC
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D291FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D291FC | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#8BADF9
Tritanopia (blue-blind)
#CDA1BB
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #d291fc; /* rgb */ color: rgb(210, 145, 252); /* oklch */ color: oklch(76.0% 0.162 311.0);
Tailwind
colors: {
custom: {
50: '#e1b2fe',
500: '#d291fc',
950: '#000000',
},
}SCSS
$custom: #d291fc; $custom-light: #e1b2fe; $custom-dark: #000000;
JSON
{
"hex": "#d291fc",
"rgb": {
"r": 210,
"g": 145,
"b": 252
},
"hsl": {
"h": 276.449,
"s": 94.69,
"l": 77.843
},
"oklch": {
"l": 0.76044,
"c": 0.16172,
"h": 311
},
"luminance": 0.40981
}Semantic roles & 50–950 ramp
primary
#D291FC
secondary
#E2F6D5
accent
#E6005A
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086