#B97BF6#B97BF6
#B97BF6 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.7% C 0.182 H 305.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B97BF6 |
|---|---|
| RGB | rgb(185, 123, 246) |
| HSL | hsl(270, 87%, 72%) |
| HSV | hsv(270, 50%, 96%) |
| CMYK | cmyk(24.8%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(62.62, 47.09, -52.75) |
| CIE-LCH | lch(62.62, 70.71, 311.75°) |
| OKLab | oklab(69.73% 0.1055 -0.148) |
| OKLCH | oklch(69.73% 0.182 305.5) |
| XYZ | xyz(43.7216, 31.1343, 90.8771) |
| Luminance | 0.3113 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.45
Easter Purple
#C071FE
ΔE00 2.64
Light Urple
#B36FF6
ΔE00 3.11
Liliac
#C48EFD
ΔE00 4.90
Bright Lavender
#C760FF
ΔE00 5.84
Bright Lilac
#C95EFB
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97BF6 #B8F67B
analogous
#7C7BF6 #B97BF6 #F67BF5
triadic
#B97BF6 #F6B97B #7BF6B9
tetradic
#B97BF6 #F67C7B #B8F67B #7BF5F6
square
#B97BF6 #F67C7B #B8F67B #7BF5F6
split-complementary
#B97BF6 #F5F67B #7BF67C
monochromatic
#7C10E7 #9B42F2 #B97BF6 #D7B4FA #F0E2FD
Accessibility & contrast
On white
2.91
#B97BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#B97BF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97BF6
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97BF6 | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5695FA
Deuteranopia (green-blind)
#6898F3
Tritanopia (blue-blind)
#AF91AD
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b97bf6; /* rgb */ color: rgb(185, 123, 246); /* oklch */ color: oklch(69.7% 0.182 305.5);
Tailwind
colors: {
custom: {
50: '#d1a3fa',
500: '#b97bf6',
950: '#000000',
},
}SCSS
$custom: #b97bf6; $custom-light: #d1a3fa; $custom-dark: #000000;
JSON
{
"hex": "#b97bf6",
"rgb": {
"r": 185,
"g": 123,
"b": 246
},
"hsl": {
"h": 270.244,
"s": 87.234,
"l": 72.353
},
"oklch": {
"l": 0.6973,
"c": 0.18175,
"h": 305.5
},
"luminance": 0.31134
}Semantic roles & 50–950 ramp
primary
#B97BF6
secondary
#E5F5D6
accent
#E40272
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85