#B396E6#B396E6
#B396E6 is a light, moderate violet. Relative luminance 0.371; OKLCH L 72.9% C 0.117 H 300.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B396E6 |
|---|---|
| RGB | rgb(179, 150, 230) |
| HSL | hsl(262, 62%, 75%) |
| HSV | hsv(262, 35%, 90%) |
| CMYK | cmyk(22.2%, 34.8%, 0%, 9.8%) |
| CIE-LAB | lab(67.36, 26.83, -36.53) |
| CIE-LCH | lch(67.36, 45.32, 306.30°) |
| OKLab | oklab(72.92% 0.0589 -0.1012) |
| OKLCH | oklch(72.92% 0.117 300.2) |
| XYZ | xyz(43.7765, 37.1094, 79.7041) |
| Luminance | 0.3711 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.73
Lavender (survey)
#C79FEF
ΔE00 4.14
Pale Purple
#B790D4
ΔE00 4.39
Baby Purple
#CA9BF7
ΔE00 4.56
Pastel Purple
#CAA0FF
ΔE00 5.04
Liliac
#C48EFD
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B396E6 #C9E696
analogous
#96A1E6 #B396E6 #DB96E6
triadic
#B396E6 #E6B396 #96E6B3
tetradic
#B396E6 #E696A1 #C9E696 #96E6DB
square
#B396E6 #E696A1 #C9E696 #96E6DB
split-complementary
#B396E6 #E6DB96 #A1E696
monochromatic
#6B33CE #8F65DA #B396E6 #D7C7F2 #EDE6F9
Accessibility & contrast
On white
2.49
#B396E6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#B396E6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B396E6
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B396E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B396E6 | 1.00 | 2.49 | 8.42 | 8.42 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83A4E9
Deuteranopia (green-blind)
#88A4E4
Tritanopia (blue-blind)
#AAA3B3
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b396e6; /* rgb */ color: rgb(179, 150, 230); /* oklch */ color: oklch(72.9% 0.117 300.2);
Tailwind
colors: {
custom: {
50: '#cbb5ee',
500: '#b396e6',
950: '#000000',
},
}SCSS
$custom: #b396e6; $custom-light: #cbb5ee; $custom-dark: #000000;
JSON
{
"hex": "#b396e6",
"rgb": {
"r": 179,
"g": 150,
"b": 230
},
"hsl": {
"h": 261.75,
"s": 61.538,
"l": 74.51
},
"oklch": {
"l": 0.72919,
"c": 0.1171,
"h": 300.2
},
"luminance": 0.3711
}Semantic roles & 50–950 ramp
primary
#B396E6
secondary
#E9F0DB
accent
#C91C8B
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131116
muted
#828084