#B59EF7#B59EF7
#B59EF7 is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.3% C 0.127 H 295.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B59EF7 |
|---|---|
| RGB | rgb(181, 158, 247) |
| HSL | hsl(256, 85%, 79%) |
| HSV | hsv(256, 36%, 97%) |
| CMYK | cmyk(26.7%, 36%, 0%, 3.1%) |
| CIE-LAB | lab(70.17, 26.93, -41.43) |
| CIE-LCH | lch(70.17, 49.42, 303.03°) |
| OKLab | oklab(75.34% 0.0539 -0.1153) |
| OKLCH | oklch(75.34% 0.127 295) |
| XYZ | xyz(48.0674, 40.9923, 93.3575) |
| Luminance | 0.4099 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.19
Lavender (survey)
#C79FEF
ΔE00 4.97
Baby Purple
#CA9BF7
ΔE00 4.98
Lilac (survey)
#CEA2FD
ΔE00 5.04
Lavender
#B39DDB
ΔE00 5.60
Liliac
#C48EFD
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B59EF7 #E0F79E
analogous
#9EB4F7 #B59EF7 #E29EF7
triadic
#B59EF7 #F7B59E #9EF7B5
tetradic
#B59EF7 #F79EB4 #E0F79E #9EF7E2
square
#B59EF7 #F79EB4 #E0F79E #9EF7E2
split-complementary
#B59EF7 #F7E29E #B4F79E
monochromatic
#5F2DEE #8A65F2 #B59EF7 #E0D7FC #E9E3FD
Accessibility & contrast
On white
2.28
#B59EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#B59EF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B59EF7
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B59EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B59EF7 | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86ACFA
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#A7ADBF
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b59ef7; /* rgb */ color: rgb(181, 158, 247); /* oklch */ color: oklch(75.3% 0.127 295.0);
Tailwind
colors: {
custom: {
50: '#cdbafa',
500: '#b59ef7',
950: '#000000',
},
}SCSS
$custom: #b59ef7; $custom-light: #cdbafa; $custom-dark: #000000;
JSON
{
"hex": "#b59ef7",
"rgb": {
"r": 181,
"g": 158,
"b": 247
},
"hsl": {
"h": 255.506,
"s": 84.762,
"l": 79.412
},
"oklch": {
"l": 0.75343,
"c": 0.1273,
"h": 295
},
"luminance": 0.40993
}Semantic roles & 50–950 ramp
primary
#B59EF7
secondary
#EDF5D6
accent
#E104A8
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085