#B59AF2#B59AF2
#B59AF2 is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.4% C 0.127 H 297.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B59AF2 |
|---|---|
| RGB | rgb(181, 154, 242) |
| HSL | hsl(258, 77%, 78%) |
| HSV | hsv(258, 36%, 95%) |
| CMYK | cmyk(25.2%, 36.4%, 0%, 5.1%) |
| CIE-LAB | lab(69.00, 27.98, -40.53) |
| CIE-LCH | lch(69.00, 49.25, 304.62°) |
| OKLab | oklab(74.38% 0.0583 -0.1127) |
| OKLCH | oklch(74.38% 0.127 297.3) |
| XYZ | xyz(46.6350, 39.3454, 89.1247) |
| Luminance | 0.3935 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.03
Baby Purple
#CA9BF7
ΔE00 4.33
Lavender (survey)
#C79FEF
ΔE00 4.38
Lilac (survey)
#CEA2FD
ΔE00 4.84
Lavender
#B39DDB
ΔE00 5.05
Liliac
#C48EFD
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B59AF2 #D7F29A
analogous
#9AABF2 #B59AF2 #E19AF2
triadic
#B59AF2 #F2B59A #9AF2B5
tetradic
#B59AF2 #F29AAB #D7F29A #9AF2E1
square
#B59AF2 #F29AAB #D7F29A #9AF2E1
split-complementary
#B59AF2 #F2E19A #ABF29A
monochromatic
#662EE4 #8D64EB #B59AF2 #DDD0F9 #EBE4FC
Accessibility & contrast
On white
2.37
#B59AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#B59AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B59AF2
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B59AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B59AF2 | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83A9F5
Deuteranopia (green-blind)
#88A7F0
Tritanopia (blue-blind)
#A9A9BB
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b59af2; /* rgb */ color: rgb(181, 154, 242); /* oklch */ color: oklch(74.4% 0.127 297.3);
Tailwind
colors: {
custom: {
50: '#cdb8f6',
500: '#b59af2',
950: '#000000',
},
}SCSS
$custom: #b59af2; $custom-light: #cdb8f6; $custom-dark: #000000;
JSON
{
"hex": "#b59af2",
"rgb": {
"r": 181,
"g": 154,
"b": 242
},
"hsl": {
"h": 258.409,
"s": 77.193,
"l": 77.647
},
"oklch": {
"l": 0.7438,
"c": 0.12691,
"h": 297.3
},
"luminance": 0.39346
}Semantic roles & 50–950 ramp
primary
#B59AF2
secondary
#EBF3D8
accent
#D90C9A
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085