#B596F9#B596F9
#B596F9 is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.0% C 0.142 H 297.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B596F9 |
|---|---|
| RGB | rgb(181, 150, 249) |
| HSL | hsl(259, 89%, 78%) |
| HSV | hsv(259, 40%, 98%) |
| CMYK | cmyk(27.3%, 39.8%, 0%, 2.4%) |
| CIE-LAB | lab(68.37, 31.89, -45.34) |
| CIE-LCH | lch(68.37, 55.43, 305.11°) |
| OKLab | oklab(74% 0.0651 -0.1266) |
| OKLCH | oklch(74% 0.142 297.2) |
| XYZ | xyz(47.0572, 38.4755, 94.5515) |
| Luminance | 0.3848 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.00
Pastel Purple
#CAA0FF
ΔE00 4.36
Baby Purple
#CA9BF7
ΔE00 4.68
Lilac (survey)
#CEA2FD
ΔE00 5.40
Lavender (survey)
#C79FEF
ΔE00 5.48
Lavender
#B39DDB
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B596F9 #DAF996
analogous
#96A8F9 #B596F9 #E696F9
triadic
#B596F9 #F9B596 #96F9B5
tetradic
#B596F9 #F996A8 #DAF996 #96F9E6
square
#B596F9 #F996A8 #DAF996 #96F9E6
split-complementary
#B596F9 #F9E696 #A8F996
monochromatic
#6322F2 #8C5CF6 #B596F9 #DED0FC #EBE2FD
Accessibility & contrast
On white
2.42
#B596F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#B596F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B596F9
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B596F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B596F9 | 1.00 | 2.42 | 8.70 | 8.70 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA7FD
Deuteranopia (green-blind)
#80A6F6
Tritanopia (blue-blind)
#A7A7BC
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b596f9; /* rgb */ color: rgb(181, 150, 249); /* oklch */ color: oklch(74.0% 0.142 297.2);
Tailwind
colors: {
custom: {
50: '#cdb5fb',
500: '#b596f9',
950: '#000000',
},
}SCSS
$custom: #b596f9; $custom-light: #cdb5fb; $custom-dark: #000000;
JSON
{
"hex": "#b596f9",
"rgb": {
"r": 181,
"g": 150,
"b": 249
},
"hsl": {
"h": 258.788,
"s": 89.189,
"l": 78.235
},
"oklch": {
"l": 0.74003,
"c": 0.1424,
"h": 297.2
},
"luminance": 0.38476
}Semantic roles & 50–950 ramp
primary
#B596F9
secondary
#EBF5D6
accent
#E6009E
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085