#B591E2#B591E2
#B591E2 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.0% C 0.121 H 304.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B591E2 |
|---|---|
| RGB | rgb(181, 145, 226) |
| HSL | hsl(267, 58%, 73%) |
| HSV | hsv(267, 36%, 89%) |
| CMYK | cmyk(19.9%, 35.8%, 0%, 11.4%) |
| CIE-LAB | lab(66.19, 29.30, -36.13) |
| CIE-LCH | lch(66.19, 46.52, 309.04°) |
| OKLab | oklab(72.01% 0.0674 -0.1) |
| OKLCH | oklch(72.01% 0.121 304) |
| XYZ | xyz(42.9061, 35.5657, 76.5412) |
| Luminance | 0.3557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.21
Lavender (survey)
#C79FEF
ΔE00 4.41
Lavender
#B39DDB
ΔE00 4.54
Baby Purple
#CA9BF7
ΔE00 4.57
Liliac
#C48EFD
ΔE00 5.02
Pastel Purple
#CAA0FF
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B591E2 #BEE291
analogous
#9195E2 #B591E2 #DE91E2
triadic
#B591E2 #E2B591 #91E2B5
tetradic
#B591E2 #E29195 #BEE291 #91E2DE
square
#B591E2 #E29195 #BEE291 #91E2DE
split-complementary
#B591E2 #E2DE91 #95E291
monochromatic
#7434C5 #9461D5 #B591E2 #D6C1EF #EFE7F9
Accessibility & contrast
On white
2.59
#B591E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#B591E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B591E2
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B591E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B591E2 | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7FA0E5
Deuteranopia (green-blind)
#86A1E0
Tritanopia (blue-blind)
#AE9EAF
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b591e2; /* rgb */ color: rgb(181, 145, 226); /* oklch */ color: oklch(72.0% 0.121 304.0);
Tailwind
colors: {
custom: {
50: '#ccb1eb',
500: '#b591e2',
950: '#000000',
},
}SCSS
$custom: #b591e2; $custom-light: #ccb1eb; $custom-dark: #000000;
JSON
{
"hex": "#b591e2",
"rgb": {
"r": 181,
"g": 145,
"b": 226
},
"hsl": {
"h": 266.667,
"s": 58.273,
"l": 72.745
},
"oklch": {
"l": 0.72013,
"c": 0.12059,
"h": 304
},
"luminance": 0.35566
}Semantic roles & 50–950 ramp
primary
#B591E2
secondary
#E7F0DB
accent
#C6207C
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#131116
muted
#828084