#B596FC#B596FC
#B596FC is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.2% C 0.146 H 296.7°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B596FC |
|---|---|
| RGB | rgb(181, 150, 252) |
| HSL | hsl(258, 94%, 79%) |
| HSV | hsv(258, 40%, 99%) |
| CMYK | cmyk(28.2%, 40.5%, 0%, 1.2%) |
| CIE-LAB | lab(68.51, 32.61, -46.76) |
| CIE-LCH | lch(68.51, 57.01, 304.89°) |
| OKLab | oklab(74.15% 0.0657 -0.1307) |
| OKLCH | oklch(74.15% 0.146 296.7) |
| XYZ | xyz(47.5289, 38.6642, 97.0355) |
| Luminance | 0.3866 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.04
Pastel Purple
#CAA0FF
ΔE00 4.51
Baby Purple
#CA9BF7
ΔE00 4.95
Lilac (survey)
#CEA2FD
ΔE00 5.60
Lavender (survey)
#C79FEF
ΔE00 5.86
Lavender
#B39DDB
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B596FC #DDFC96
analogous
#96AAFC #B596FC #E896FC
triadic
#B596FC #FCB596 #96FCB5
tetradic
#B596FC #FC96AA #DDFC96 #96FCE8
square
#B596FC #FC96AA #DDFC96 #96FCE8
split-complementary
#B596FC #FCE896 #AAFC96
monochromatic
#611FF9 #8B5BFA #B596FC #DFD2FE #EAE1FE
Accessibility & contrast
On white
2.40
#B596FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#B596FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B596FC
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B596FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B596FC | 1.00 | 2.40 | 8.73 | 8.73 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#7EA6F9
Tritanopia (blue-blind)
#A6A8BD
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b596fc; /* rgb */ color: rgb(181, 150, 252); /* oklch */ color: oklch(74.2% 0.146 296.7);
Tailwind
colors: {
custom: {
50: '#cdb5fe',
500: '#b596fc',
950: '#000000',
},
}SCSS
$custom: #b596fc; $custom-light: #cdb5fe; $custom-dark: #000000;
JSON
{
"hex": "#b596fc",
"rgb": {
"r": 181,
"g": 150,
"b": 252
},
"hsl": {
"h": 258.235,
"s": 94.444,
"l": 78.824
},
"oklch": {
"l": 0.74152,
"c": 0.14631,
"h": 296.7
},
"luminance": 0.38665
}Semantic roles & 50–950 ramp
primary
#B596FC
secondary
#ECF6D5
accent
#E600A0
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086