#B397CF#B397CF
#B397CF is a light, moderate violet. Relative luminance 0.362; OKLCH L 72.1% C 0.085 H 307.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B397CF |
|---|---|
| RGB | rgb(179, 151, 207) |
| HSL | hsl(270, 37%, 70%) |
| HSV | hsv(270, 27%, 81%) |
| CMYK | cmyk(13.5%, 27.1%, 0%, 18.8%) |
| CIE-LAB | lab(66.69, 21.12, -24.84) |
| CIE-LCH | lch(66.69, 32.60, 310.37°) |
| OKLab | oklab(72.11% 0.0515 -0.0679) |
| OKLCH | oklch(72.11% 0.085 307.1) |
| XYZ | xyz(40.9174, 36.2222, 63.8554) |
| Luminance | 0.3622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 2.92
Pale Purple
#B790D4
ΔE00 3.12
Lavender (survey)
#C79FEF
ΔE00 6.12
Lilac
#C8A2C8
ΔE00 7.19
Wisteria
#A87DC2
ΔE00 7.65
Baby Purple
#CA9BF7
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B397CF #B3CF97
analogous
#9797CF #B397CF #CF97CF
triadic
#B397CF #CFB397 #97CFB3
tetradic
#B397CF #CF9797 #B3CF97 #97CFCF
square
#B397CF #CF9797 #B3CF97 #97CFCF
split-complementary
#B397CF #CFCF97 #97CF97
monochromatic
#764AA1 #946DBC #B397CF #D2C1E2 #F0EAF5
Accessibility & contrast
On white
2.55
#B397CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#B397CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B397CF
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B397CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B397CF | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DA1D1
Deuteranopia (green-blind)
#93A3CD
Tritanopia (blue-blind)
#AF9FAB
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b397cf; /* rgb */ color: rgb(179, 151, 207); /* oklch */ color: oklch(72.1% 0.085 307.1);
Tailwind
colors: {
custom: {
50: '#cab5dd',
500: '#b397cf',
950: '#000000',
},
}SCSS
$custom: #b397cf; $custom-light: #cab5dd; $custom-dark: #000000;
JSON
{
"hex": "#b397cf",
"rgb": {
"r": 179,
"g": 151,
"b": 207
},
"hsl": {
"h": 270,
"s": 36.842,
"l": 70.196
},
"oklch": {
"l": 0.72106,
"c": 0.08521,
"h": 307.1
},
"luminance": 0.36222
}Semantic roles & 50–950 ramp
primary
#B397CF
secondary
#E1E9D9
accent
#B03673
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083