#B196FB#B196FB
#B196FB is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.8% C 0.145 H 294.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B196FB |
|---|---|
| RGB | rgb(177, 150, 251) |
| HSL | hsl(256, 93%, 79%) |
| HSV | hsv(256, 40%, 98%) |
| CMYK | cmyk(29.5%, 40.2%, 0%, 1.6%) |
| CIE-LAB | lab(68.11, 31.28, -46.86) |
| CIE-LCH | lch(68.11, 56.34, 303.72°) |
| OKLab | oklab(73.75% 0.0609 -0.1311) |
| OKLCH | oklch(73.75% 0.145 294.9) |
| XYZ | xyz(46.4461, 38.1242, 96.1598) |
| Luminance | 0.3812 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.79
Pastel Purple
#CAA0FF
ΔE00 5.20
Baby Purple
#CA9BF7
ΔE00 5.68
Lilac (survey)
#CEA2FD
ΔE00 6.27
Lavender (survey)
#C79FEF
ΔE00 6.42
Perrywinkle
#8F8CE7
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B196FB #E0FB96
analogous
#96ADFB #B196FB #E496FB
triadic
#B196FB #FBB196 #96FBB1
tetradic
#B196FB #FB96AD #E0FB96 #96FBE4
square
#B196FB #FB96AD #E0FB96 #96FBE4
split-complementary
#B196FB #FBE496 #ADFB96
monochromatic
#5920F7 #855BF9 #B196FB #DDD1FD #E9E2FE
Accessibility & contrast
On white
2.43
#B196FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.62
#B196FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B196FB
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B196FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B196FB | 1.00 | 2.43 | 8.62 | 8.62 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#7DA5F8
Tritanopia (blue-blind)
#A1A8BD
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b196fb; /* rgb */ color: rgb(177, 150, 251); /* oklch */ color: oklch(73.8% 0.145 294.9);
Tailwind
colors: {
custom: {
50: '#cab5fd',
500: '#b196fb',
950: '#000000',
},
}SCSS
$custom: #b196fb; $custom-light: #cab5fd; $custom-dark: #000000;
JSON
{
"hex": "#b196fb",
"rgb": {
"r": 177,
"g": 150,
"b": 251
},
"hsl": {
"h": 256.04,
"s": 92.661,
"l": 78.627
},
"oklch": {
"l": 0.73754,
"c": 0.14457,
"h": 294.9
},
"luminance": 0.38125
}Semantic roles & 50–950 ramp
primary
#B196FB
secondary
#EDF6D5
accent
#E600A8
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085