#B59EF2#B59EF2
#B59EF2 is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.1% C 0.121 H 296.0°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B59EF2 |
|---|---|
| RGB | rgb(181, 158, 242) |
| HSL | hsl(256, 76%, 78%) |
| HSV | hsv(256, 35%, 95%) |
| CMYK | cmyk(25.2%, 34.7%, 0%, 5.1%) |
| CIE-LAB | lab(69.96, 25.74, -39.04) |
| CIE-LCH | lch(69.96, 46.76, 303.40°) |
| OKLab | oklab(75.11% 0.0528 -0.1084) |
| OKLCH | oklch(75.11% 0.121 296) |
| XYZ | xyz(47.3062, 40.6878, 89.3484) |
| Luminance | 0.4069 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.21
Lavender (survey)
#C79FEF
ΔE00 4.43
Lavender
#B39DDB
ΔE00 4.66
Baby Purple
#CA9BF7
ΔE00 4.79
Lilac (survey)
#CEA2FD
ΔE00 4.91
Pale Violet
#CEAEFA
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B59EF2 #DBF29E
analogous
#9EB1F2 #B59EF2 #DF9EF2
triadic
#B59EF2 #F2B59E #9EF2B5
tetradic
#B59EF2 #F29EB1 #DBF29E #9EF2DF
square
#B59EF2 #F29EB1 #DBF29E #9EF2DF
split-complementary
#B59EF2 #F2DF9E #B1F29E
monochromatic
#6332E4 #8C68EB #B59EF2 #DED4F9 #EAE4FB
Accessibility & contrast
On white
2.30
#B59EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#B59EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B59EF2
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B59EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B59EF2 | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89ABF5
Deuteranopia (green-blind)
#8CAAF0
Tritanopia (blue-blind)
#A9ACBD
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b59ef2; /* rgb */ color: rgb(181, 158, 242); /* oklch */ color: oklch(75.1% 0.121 296.0);
Tailwind
colors: {
custom: {
50: '#ccbaf6',
500: '#b59ef2',
950: '#000000',
},
}SCSS
$custom: #b59ef2; $custom-light: #ccbaf6; $custom-dark: #000000;
JSON
{
"hex": "#b59ef2",
"rgb": {
"r": 181,
"g": 158,
"b": 242
},
"hsl": {
"h": 256.429,
"s": 76.364,
"l": 78.431
},
"oklch": {
"l": 0.75109,
"c": 0.1206,
"h": 296
},
"luminance": 0.40688
}Semantic roles & 50–950 ramp
primary
#B59EF2
secondary
#ECF3D8
accent
#D90DA1
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#131117
muted
#828085