#B396CF#B396CF
#B396CF is a light, moderate violet. Relative luminance 0.359; OKLCH L 71.9% C 0.087 H 307.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B396CF |
|---|---|
| RGB | rgb(179, 150, 207) |
| HSL | hsl(271, 37%, 70%) |
| HSV | hsv(271, 28%, 81%) |
| CMYK | cmyk(13.5%, 27.5%, 0%, 18.8%) |
| CIE-LAB | lab(66.44, 21.68, -25.22) |
| CIE-LCH | lch(66.44, 33.25, 310.69°) |
| OKLab | oklab(71.92% 0.0529 -0.069) |
| OKLCH | oklch(71.92% 0.087 307.5) |
| XYZ | xyz(40.7572, 35.9017, 63.8020) |
| Luminance | 0.3590 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.80
Lavender
#B39DDB
ΔE00 3.05
Lavender (survey)
#C79FEF
ΔE00 6.07
Wisteria
#A87DC2
ΔE00 7.34
Lilac
#C8A2C8
ΔE00 7.35
Baby Purple
#CA9BF7
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B396CF #B2CF96
analogous
#9696CF #B396CF #CF96CF
triadic
#B396CF #CFB396 #96CFB3
tetradic
#B396CF #CF9696 #B2CF96 #96CFCF
square
#B396CF #CF9696 #B2CF96 #96CFCF
split-complementary
#B396CF #CFCF96 #96CF96
monochromatic
#764AA1 #956CBC #B396CF #D1C0E2 #F0EAF5
Accessibility & contrast
On white
2.57
#B396CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#B396CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B396CF
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B396CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B396CF | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CA0D1
Deuteranopia (green-blind)
#92A2CD
Tritanopia (blue-blind)
#AF9EAA
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b396cf; /* rgb */ color: rgb(179, 150, 207); /* oklch */ color: oklch(71.9% 0.087 307.5);
Tailwind
colors: {
custom: {
50: '#cab5dd',
500: '#b396cf',
950: '#000000',
},
}SCSS
$custom: #b396cf; $custom-light: #cab5dd; $custom-dark: #000000;
JSON
{
"hex": "#b396cf",
"rgb": {
"r": 179,
"g": 150,
"b": 207
},
"hsl": {
"h": 270.526,
"s": 37.255,
"l": 70
},
"oklch": {
"l": 0.71918,
"c": 0.08694,
"h": 307.5
},
"luminance": 0.35901
}Semantic roles & 50–950 ramp
primary
#B396CF
secondary
#E0E8D8
accent
#B03572
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083