#B591F2#B591F2
#B591F2 is a light, vivid violet. Relative luminance 0.365; OKLCH L 72.8% C 0.141 H 300.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B591F2 |
|---|---|
| RGB | rgb(181, 145, 242) |
| HSL | hsl(262, 79%, 76%) |
| HSV | hsv(262, 40%, 95%) |
| CMYK | cmyk(25.2%, 40.1%, 0%, 5.1%) |
| CIE-LAB | lab(66.89, 33.01, -43.84) |
| CIE-LCH | lch(66.89, 54.88, 306.98°) |
| OKLab | oklab(72.78% 0.0706 -0.1223) |
| OKLCH | oklch(72.78% 0.141 300) |
| XYZ | xyz(45.2048, 36.4852, 88.6480) |
| Luminance | 0.3649 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.27
Baby Purple
#CA9BF7
ΔE00 4.49
Pastel Purple
#CAA0FF
ΔE00 4.83
Lavender (survey)
#C79FEF
ΔE00 5.36
Lilac (survey)
#CEA2FD
ΔE00 5.71
Pale Purple
#B790D4
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B591F2 #CEF291
analogous
#919DF2 #B591F2 #E591F2
triadic
#B591F2 #F2B591 #91F2B5
tetradic
#B591F2 #F2919D #CEF291 #91F2E5
square
#B591F2 #F2919D #CEF291 #91F2E5
split-complementary
#B591F2 #F2E591 #9DF291
monochromatic
#6B24E5 #905AEC #B591F2 #DAC8F8 #EDE4FC
Accessibility & contrast
On white
2.53
#B591F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#B591F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B591F2
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B591F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B591F2 | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78A2F6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#AAA1B6
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b591f2; /* rgb */ color: rgb(181, 145, 242); /* oklch */ color: oklch(72.8% 0.141 300.0);
Tailwind
colors: {
custom: {
50: '#cdb1f7',
500: '#b591f2',
950: '#000000',
},
}SCSS
$custom: #b591f2; $custom-light: #cdb1f7; $custom-dark: #000000;
JSON
{
"hex": "#b591f2",
"rgb": {
"r": 181,
"g": 145,
"b": 242
},
"hsl": {
"h": 262.268,
"s": 78.862,
"l": 75.882
},
"oklch": {
"l": 0.72777,
"c": 0.1412,
"h": 300
},
"luminance": 0.36485
}Semantic roles & 50–950 ramp
primary
#B591F2
secondary
#E9F4D7
accent
#DB0A8E
background
#FCFAFF
surface
#F9F5FE
border
#D2CFD6
text
#141117
muted
#828085