#B397CC#B397CC
#B397CC is a light, moderate violet. Relative luminance 0.361; OKLCH L 72.0% C 0.081 H 308.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B397CC |
|---|---|
| RGB | rgb(179, 151, 204) |
| HSL | hsl(272, 34%, 70%) |
| HSV | hsv(272, 26%, 80%) |
| CMYK | cmyk(12.3%, 26%, 0%, 20%) |
| CIE-LAB | lab(66.58, 20.47, -23.34) |
| CIE-LCH | lch(66.58, 31.05, 311.26°) |
| OKLab | oklab(71.98% 0.0506 -0.0637) |
| OKLCH | oklch(71.98% 0.081 308.4) |
| XYZ | xyz(40.5541, 36.0769, 61.9421) |
| Luminance | 0.3608 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.54
Pale Purple
#B790D4
ΔE00 3.61
Lilac
#C8A2C8
ΔE00 6.62
Lavender (survey)
#C79FEF
ΔE00 6.72
Heather
#A484AC
ΔE00 7.29
Wisteria
#A87DC2
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B397CC #B0CC97
analogous
#9997CC #B397CC #CC97CB
triadic
#B397CC #CCB397 #97CCB3
tetradic
#B397CC #CC9997 #B0CC97 #97CBCC
square
#B397CC #CC9997 #B0CC97 #97CBCC
split-complementary
#B397CC #CBCC97 #97CC99
monochromatic
#774D9C #956EB8 #B397CC #D1C0E0 #EFE9F4
Accessibility & contrast
On white
2.56
#B397CC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#B397CC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B397CC
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B397CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B397CC | 1.00 | 2.56 | 8.22 | 8.22 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EA1CE
Deuteranopia (green-blind)
#94A2CA
Tritanopia (blue-blind)
#B09EAA
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b397cc; /* rgb */ color: rgb(179, 151, 204); /* oklch */ color: oklch(72.0% 0.081 308.4);
Tailwind
colors: {
custom: {
50: '#cab5db',
500: '#b397cc',
950: '#000000',
},
}SCSS
$custom: #b397cc; $custom-light: #cab5db; $custom-dark: #000000;
JSON
{
"hex": "#b397cc",
"rgb": {
"r": 179,
"g": 151,
"b": 204
},
"hsl": {
"h": 271.698,
"s": 34.194,
"l": 69.608
},
"oklch": {
"l": 0.71984,
"c": 0.08134,
"h": 308.4
},
"luminance": 0.36077
}Semantic roles & 50–950 ramp
primary
#B397CC
secondary
#DFE7D8
accent
#AD386F
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083