#B591F3#B591F3
#B591F3 is a light, vivid violet. Relative luminance 0.365; OKLCH L 72.8% C 0.142 H 299.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B591F3 |
|---|---|
| RGB | rgb(181, 145, 243) |
| HSL | hsl(262, 80%, 76%) |
| HSV | hsv(262, 40%, 95%) |
| CMYK | cmyk(25.5%, 40.3%, 0%, 4.7%) |
| CIE-LAB | lab(66.93, 33.24, -44.32) |
| CIE-LCH | lch(66.93, 55.40, 306.88°) |
| OKLab | oklab(72.83% 0.0708 -0.1236) |
| OKLCH | oklch(72.83% 0.142 299.8) |
| XYZ | xyz(45.3554, 36.5454, 89.4411) |
| Luminance | 0.3655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.22
Baby Purple
#CA9BF7
ΔE00 4.55
Pastel Purple
#CAA0FF
ΔE00 4.84
Lavender (survey)
#C79FEF
ΔE00 5.45
Lilac (survey)
#CEA2FD
ΔE00 5.74
Pale Purple
#B790D4
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B591F3 #CFF391
analogous
#919EF3 #B591F3 #E691F3
triadic
#B591F3 #F3B591 #91F3B5
tetradic
#B591F3 #F3919E #CFF391 #91F3E6
square
#B591F3 #F3919E #CFF391 #91F3E6
split-complementary
#B591F3 #F3E691 #9EF391
monochromatic
#6B23E7 #905AED #B591F3 #DAC8F9 #ECE3FC
Accessibility & contrast
On white
2.53
#B591F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#B591F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B591F3
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B591F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B591F3 | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A3F7
Deuteranopia (green-blind)
#7EA2F0
Tritanopia (blue-blind)
#A9A2B6
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b591f3; /* rgb */ color: rgb(181, 145, 243); /* oklch */ color: oklch(72.8% 0.142 299.8);
Tailwind
colors: {
custom: {
50: '#cdb1f7',
500: '#b591f3',
950: '#000000',
},
}SCSS
$custom: #b591f3; $custom-light: #cdb1f7; $custom-dark: #000000;
JSON
{
"hex": "#b591f3",
"rgb": {
"r": 181,
"g": 145,
"b": 243
},
"hsl": {
"h": 262.041,
"s": 80.328,
"l": 76.078
},
"oklch": {
"l": 0.72826,
"c": 0.14248,
"h": 299.8
},
"luminance": 0.36546
}Semantic roles & 50–950 ramp
primary
#B591F3
secondary
#E9F4D7
accent
#DD098F
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141117
muted
#828085