#B196FE#B196FE
#B196FE is a light, vivid violet. Relative luminance 0.383; OKLCH L 73.9% C 0.149 H 294.4°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B196FE |
|---|---|
| RGB | rgb(177, 150, 254) |
| HSL | hsl(256, 98%, 79%) |
| HSV | hsv(256, 41%, 100%) |
| CMYK | cmyk(30.3%, 40.9%, 0%, 0.4%) |
| CIE-LAB | lab(68.25, 32.02, -48.28) |
| CIE-LCH | lch(68.25, 57.93, 303.55°) |
| OKLab | oklab(73.91% 0.0614 -0.1352) |
| OKLCH | oklch(73.91% 0.149 294.4) |
| XYZ | xyz(46.9228, 38.3148, 98.6701) |
| Luminance | 0.3832 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.88
Pastel Purple
#CAA0FF
ΔE00 5.38
Baby Purple
#CA9BF7
ΔE00 5.95
Lilac (survey)
#CEA2FD
ΔE00 6.48
Lavender (survey)
#C79FEF
ΔE00 6.77
Perrywinkle
#8F8CE7
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B196FE #E3FE96
analogous
#96AFFE #B196FE #E596FE
triadic
#B196FE #FEB196 #96FEB1
tetradic
#B196FE #FE96AF #E3FE96 #96FEE5
square
#B196FE #FE96AF #E3FE96 #96FEE5
split-complementary
#B196FE #FEE596 #AFFE96
monochromatic
#571DFD #8459FD #B196FE #DED3FF #E8E1FF
Accessibility & contrast
On white
2.42
#B196FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.66
#B196FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B196FE
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B196FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B196FE | 1.00 | 2.42 | 8.66 | 8.66 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#7BA5FB
Tritanopia (blue-blind)
#A0A9BE
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b196fe; /* rgb */ color: rgb(177, 150, 254); /* oklch */ color: oklch(73.9% 0.149 294.4);
Tailwind
colors: {
custom: {
50: '#cbb5ff',
500: '#b196fe',
950: '#000000',
},
}SCSS
$custom: #b196fe; $custom-light: #cbb5ff; $custom-dark: #000000;
JSON
{
"hex": "#b196fe",
"rgb": {
"r": 177,
"g": 150,
"b": 254
},
"hsl": {
"h": 255.577,
"s": 98.113,
"l": 79.216
},
"oklch": {
"l": 0.73906,
"c": 0.14852,
"h": 294.4
},
"luminance": 0.38316
}Semantic roles & 50–950 ramp
primary
#B196FE
secondary
#EEF7D4
accent
#E600AA
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086