#B896F2#B896F2
#B896F2 is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.9% C 0.134 H 300.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B896F2 |
|---|---|
| RGB | rgb(184, 150, 242) |
| HSL | hsl(262, 78%, 77%) |
| HSV | hsv(262, 38%, 95%) |
| CMYK | cmyk(24%, 38%, 0%, 5.1%) |
| CIE-LAB | lab(68.32, 31.07, -41.57) |
| CIE-LCH | lch(68.32, 51.90, 306.77°) |
| OKLab | oklab(73.93% 0.0672 -0.1156) |
| OKLCH | oklch(73.93% 0.134 300.2) |
| XYZ | xyz(46.6969, 38.4137, 88.9416) |
| Luminance | 0.3841 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.57
Pastel Purple
#CAA0FF
ΔE00 3.74
Liliac
#C48EFD
ΔE00 3.74
Lavender (survey)
#C79FEF
ΔE00 4.13
Lilac (survey)
#CEA2FD
ΔE00 4.57
Lavender
#B39DDB
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B896F2 #D0F296
analogous
#96A2F2 #B896F2 #E696F2
triadic
#B896F2 #F2B896 #96F2B8
tetradic
#B896F2 #F296A2 #D0F296 #96F2E6
square
#B896F2 #F296A2 #D0F296 #96F2E6
split-complementary
#B896F2 #F2E696 #A2F296
monochromatic
#6E29E5 #9360EB #B896F2 #DDCCF9 #EDE4FC
Accessibility & contrast
On white
2.42
#B896F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.68
#B896F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B896F2
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B896F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B896F2 | 1.00 | 2.42 | 8.68 | 8.68 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7FA6F6
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#ADA5B9
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b896f2; /* rgb */ color: rgb(184, 150, 242); /* oklch */ color: oklch(73.9% 0.134 300.2);
Tailwind
colors: {
custom: {
50: '#cfb5f6',
500: '#b896f2',
950: '#000000',
},
}SCSS
$custom: #b896f2; $custom-light: #cfb5f6; $custom-dark: #000000;
JSON
{
"hex": "#b896f2",
"rgb": {
"r": 184,
"g": 150,
"b": 242
},
"hsl": {
"h": 262.174,
"s": 77.966,
"l": 76.863
},
"oklch": {
"l": 0.73929,
"c": 0.13378,
"h": 300.2
},
"luminance": 0.38414
}Semantic roles & 50–950 ramp
primary
#B896F2
secondary
#E9F3D8
accent
#DA0B8E
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085