#B591FC#B591FC
#B591FC is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.3% C 0.154 H 298.0°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B591FC |
|---|---|
| RGB | rgb(181, 145, 252) |
| HSL | hsl(260, 95%, 78%) |
| HSV | hsv(260, 42%, 99%) |
| CMYK | cmyk(28.2%, 42.5%, 0%, 1.2%) |
| CIE-LAB | lab(67.35, 35.40, -48.58) |
| CIE-LCH | lch(67.35, 60.11, 306.08°) |
| OKLab | oklab(73.28% 0.0724 -0.136) |
| OKLCH | oklch(73.28% 0.154 298) |
| XYZ | xyz(46.7480, 37.1024, 96.7752) |
| Luminance | 0.3710 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.25
Pastel Purple
#CAA0FF
ΔE00 5.16
Baby Purple
#CA9BF7
ΔE00 5.25
Lilac (survey)
#CEA2FD
ΔE00 6.22
Lavender (survey)
#C79FEF
ΔE00 6.44
Light Purple
#BF77F6
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B591FC #D8FC91
analogous
#91A2FC #B591FC #EA91FC
triadic
#B591FC #FCB591 #91FCB5
tetradic
#B591FC #FC91A2 #D8FC91 #91FCEA
square
#B591FC #FC91A2 #D8FC91 #91FCEA
split-complementary
#B591FC #FCEA91 #A2FC91
monochromatic
#651AF9 #8D55FA #B591FC #DDCDFE #EBE1FE
Accessibility & contrast
On white
2.49
#B591FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#B591FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B591FC
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B591FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B591FC | 1.00 | 2.49 | 8.42 | 8.42 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#79A3F9
Tritanopia (blue-blind)
#A7A4BA
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b591fc; /* rgb */ color: rgb(181, 145, 252); /* oklch */ color: oklch(73.3% 0.154 298.0);
Tailwind
colors: {
custom: {
50: '#cdb1fe',
500: '#b591fc',
950: '#000000',
},
}SCSS
$custom: #b591fc; $custom-light: #cdb1fe; $custom-dark: #000000;
JSON
{
"hex": "#b591fc",
"rgb": {
"r": 181,
"g": 145,
"b": 252
},
"hsl": {
"h": 260.187,
"s": 94.69,
"l": 77.843
},
"oklch": {
"l": 0.7328,
"c": 0.15406,
"h": 298
},
"luminance": 0.37103
}Semantic roles & 50–950 ramp
primary
#B591FC
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141118
muted
#828086