#B59EF6#B59EF6
#B59EF6 is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.3% C 0.126 H 295.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B59EF6 |
|---|---|
| RGB | rgb(181, 158, 246) |
| HSL | hsl(256, 83%, 79%) |
| HSV | hsv(256, 36%, 96%) |
| CMYK | cmyk(26.4%, 35.8%, 0%, 3.5%) |
| CIE-LAB | lab(70.13, 26.69, -40.96) |
| CIE-LCH | lch(70.13, 48.89, 303.10°) |
| OKLab | oklab(75.3% 0.0537 -0.114) |
| OKLCH | oklch(75.3% 0.126 295.2) |
| XYZ | xyz(47.9135, 40.9307, 92.5470) |
| Luminance | 0.4093 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.17
Lavender (survey)
#C79FEF
ΔE00 4.86
Baby Purple
#CA9BF7
ΔE00 4.93
Lilac (survey)
#CEA2FD
ΔE00 5.00
Lavender
#B39DDB
ΔE00 5.41
Liliac
#C48EFD
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B59EF6 #DFF69E
analogous
#9EB3F6 #B59EF6 #E19EF6
triadic
#B59EF6 #F6B59E #9EF6B5
tetradic
#B59EF6 #F69EB3 #DFF69E #9EF6E1
square
#B59EF6 #F69EB3 #DFF69E #9EF6E1
split-complementary
#B59EF6 #F6E19E #B3F69E
monochromatic
#602EEC #8A66F1 #B59EF6 #E0D6FB #EAE3FC
Accessibility & contrast
On white
2.29
#B59EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#B59EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B59EF6
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B59EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B59EF6 | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87ACF9
Deuteranopia (green-blind)
#8AAAF4
Tritanopia (blue-blind)
#A8ADBF
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b59ef6; /* rgb */ color: rgb(181, 158, 246); /* oklch */ color: oklch(75.3% 0.126 295.2);
Tailwind
colors: {
custom: {
50: '#cdbaf9',
500: '#b59ef6',
950: '#000000',
},
}SCSS
$custom: #b59ef6; $custom-light: #cdbaf9; $custom-dark: #000000;
JSON
{
"hex": "#b59ef6",
"rgb": {
"r": 181,
"g": 158,
"b": 246
},
"hsl": {
"h": 255.682,
"s": 83.019,
"l": 79.216
},
"oklch": {
"l": 0.75296,
"c": 0.12597,
"h": 295.2
},
"luminance": 0.40931
}Semantic roles & 50–950 ramp
primary
#B59EF6
secondary
#EDF4D7
accent
#DF06A7
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085