#B97CF6#B97CF6
#B97CF6 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.180 H 305.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B97CF6 |
|---|---|
| RGB | rgb(185, 124, 246) |
| HSL | hsl(270, 87%, 73%) |
| HSV | hsv(270, 50%, 96%) |
| CMYK | cmyk(24.8%, 49.6%, 0%, 3.5%) |
| CIE-LAB | lab(62.83, 46.55, -52.42) |
| CIE-LCH | lch(62.83, 70.11, 311.61°) |
| OKLab | oklab(69.89% 0.1042 -0.147) |
| OKLCH | oklch(69.89% 0.18 305.3) |
| XYZ | xyz(43.8463, 31.3837, 90.9187) |
| Luminance | 0.3138 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.62
Easter Purple
#C071FE
ΔE00 2.85
Light Urple
#B36FF6
ΔE00 3.34
Liliac
#C48EFD
ΔE00 4.68
Bright Lavender
#C760FF
ΔE00 6.07
Bright Lilac
#C95EFB
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97CF6 #B9F67C
analogous
#7C7CF6 #B97CF6 #F67CF6
triadic
#B97CF6 #F6B97C #7CF6B9
tetradic
#B97CF6 #F67C7C #B9F67C #7CF6F6
square
#B97CF6 #F67C7C #B9F67C #7CF6F6
split-complementary
#B97CF6 #F6F67C #7CF67C
monochromatic
#7C10E8 #9A43F2 #B97CF6 #D8B5FA #F0E2FD
Accessibility & contrast
On white
2.89
#B97CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#B97CF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97CF6
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97CF6 | 1.00 | 2.89 | 7.28 | 7.28 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#AF92AE
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b97cf6; /* rgb */ color: rgb(185, 124, 246); /* oklch */ color: oklch(69.9% 0.180 305.3);
Tailwind
colors: {
custom: {
50: '#d1a3fa',
500: '#b97cf6',
950: '#000000',
},
}SCSS
$custom: #b97cf6; $custom-light: #d1a3fa; $custom-dark: #000000;
JSON
{
"hex": "#b97cf6",
"rgb": {
"r": 185,
"g": 124,
"b": 246
},
"hsl": {
"h": 270,
"s": 87.143,
"l": 72.549
},
"oklch": {
"l": 0.69886,
"c": 0.1802,
"h": 305.3
},
"luminance": 0.31383
}Semantic roles & 50–950 ramp
primary
#B97CF6
secondary
#E6F5D6
accent
#E40273
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85