#B596F2#B596F2
#B596F2 is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.7% C 0.133 H 298.6°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B596F2 |
|---|---|
| RGB | rgb(181, 150, 242) |
| HSL | hsl(260, 78%, 77%) |
| HSV | hsv(260, 38%, 95%) |
| CMYK | cmyk(25.2%, 38%, 0%, 5.1%) |
| CIE-LAB | lab(68.06, 30.22, -42.01) |
| CIE-LCH | lch(68.06, 51.75, 305.72°) |
| OKLab | oklab(73.66% 0.0638 -0.117) |
| OKLCH | oklch(73.66% 0.133 298.6) |
| XYZ | xyz(45.9857, 38.0469, 88.9083) |
| Luminance | 0.3805 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.17
Baby Purple
#CA9BF7
ΔE00 4.20
Pastel Purple
#CAA0FF
ΔE00 4.20
Lavender (survey)
#C79FEF
ΔE00 4.66
Lilac (survey)
#CEA2FD
ΔE00 5.07
Lavender
#B39DDB
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B596F2 #D3F296
analogous
#96A5F2 #B596F2 #E396F2
triadic
#B596F2 #F2B596 #96F2B5
tetradic
#B596F2 #F296A5 #D3F296 #96F2E3
square
#B596F2 #F296A5 #D3F296 #96F2E3
split-complementary
#B596F2 #F2E396 #A5F296
monochromatic
#6829E5 #8F60EB #B596F2 #DBCCF9 #ECE4FC
Accessibility & contrast
On white
2.44
#B596F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#B596F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B596F2
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B596F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B596F2 | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#84A5F0
Tritanopia (blue-blind)
#A9A5B9
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b596f2; /* rgb */ color: rgb(181, 150, 242); /* oklch */ color: oklch(73.7% 0.133 298.6);
Tailwind
colors: {
custom: {
50: '#cdb5f6',
500: '#b596f2',
950: '#000000',
},
}SCSS
$custom: #b596f2; $custom-light: #cdb5f6; $custom-dark: #000000;
JSON
{
"hex": "#b596f2",
"rgb": {
"r": 181,
"g": 150,
"b": 242
},
"hsl": {
"h": 260.217,
"s": 77.966,
"l": 76.863
},
"oklch": {
"l": 0.73661,
"c": 0.13324,
"h": 298.6
},
"luminance": 0.38047
}Semantic roles & 50–950 ramp
primary
#B596F2
secondary
#EAF3D8
accent
#DA0B94
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085