#D591FC#D591FC
#D591FC is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.3% C 0.163 H 312.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #D591FC |
|---|---|
| RGB | rgb(213, 145, 252) |
| HSL | hsl(278, 95%, 78%) |
| HSV | hsv(278, 42%, 99%) |
| CMYK | cmyk(15.5%, 42.5%, 0%, 1.2%) |
| CIE-LAB | lab(70.47, 44.26, -43.46) |
| CIE-LCH | lch(70.47, 62.03, 315.52°) |
| OKLab | oklab(76.35% 0.1096 -0.1205) |
| OKLCH | oklch(76.35% 0.163 312.3) |
| XYZ | xyz(55.1337, 41.4263, 97.1683) |
| Luminance | 0.4143 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.47
Baby Purple
#CA9BF7
ΔE00 3.54
Lilac (survey)
#CEA2FD
ΔE00 4.68
Pastel Purple
#CAA0FF
ΔE00 4.70
Lavender (survey)
#C79FEF
ΔE00 5.33
Violet (CSS)
#EE82EE
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D591FC #B8FC91
analogous
#9F91FC #D591FC #FC91ED
triadic
#D591FC #FCD591 #91FCD5
tetradic
#D591FC #FC9F91 #B8FC91 #91EDFC
square
#D591FC #FC9F91 #B8FC91 #91EDFC
split-complementary
#D591FC #EDFC91 #91FC9F
monochromatic
#A81AF9 #BE55FA #D591FC #ECCDFE #F4E1FE
Accessibility & contrast
On white
2.26
#D591FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#D591FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D591FC
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D591FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D591FC | 1.00 | 2.26 | 9.29 | 9.29 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#8DAEF9
Tritanopia (blue-blind)
#D1A1BB
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #d591fc; /* rgb */ color: rgb(213, 145, 252); /* oklch */ color: oklch(76.3% 0.163 312.3);
Tailwind
colors: {
custom: {
50: '#e3b2fe',
500: '#d591fc',
950: '#000000',
},
}SCSS
$custom: #d591fc; $custom-light: #e3b2fe; $custom-dark: #000000;
JSON
{
"hex": "#d591fc",
"rgb": {
"r": 213,
"g": 145,
"b": 252
},
"hsl": {
"h": 278.131,
"s": 94.69,
"l": 77.843
},
"oklch": {
"l": 0.76348,
"c": 0.16289,
"h": 312.3
},
"luminance": 0.41425
}Semantic roles & 50–950 ramp
primary
#D591FC
secondary
#E1F6D5
accent
#E60054
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086