#B97AF5#B97AF5
#B97AF5 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.5% C 0.182 H 305.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B97AF5 |
|---|---|
| RGB | rgb(185, 122, 245) |
| HSL | hsl(271, 86%, 72%) |
| HSV | hsv(271, 50%, 96%) |
| CMYK | cmyk(24.5%, 50.2%, 0%, 3.9%) |
| CIE-LAB | lab(62.36, 47.40, -52.61) |
| CIE-LCH | lch(62.36, 70.81, 312.01°) |
| OKLab | oklab(69.52% 0.1067 -0.1476) |
| OKLCH | oklch(69.52% 0.182 305.9) |
| XYZ | xyz(43.4451, 30.8263, 90.0298) |
| Luminance | 0.3083 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.28
Easter Purple
#C071FE
ΔE00 2.50
Light Urple
#B36FF6
ΔE00 2.92
Liliac
#C48EFD
ΔE00 5.13
Bright Lavender
#C760FF
ΔE00 5.64
Bright Lilac
#C95EFB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97AF5 #B6F57A
analogous
#7C7AF5 #B97AF5 #F57AF3
triadic
#B97AF5 #F5B97A #7AF5B9
tetradic
#B97AF5 #F57C7A #B6F57A #7AF3F5
square
#B97AF5 #F57C7A #B6F57A #7AF3F5
split-complementary
#B97AF5 #F3F57A #7AF57C
monochromatic
#7D11E3 #9B41F1 #B97AF5 #D7B3F9 #F0E3FD
Accessibility & contrast
On white
2.93
#B97AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#B97AF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97AF5
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97AF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97AF5 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5595F9
Deuteranopia (green-blind)
#6897F2
Tritanopia (blue-blind)
#AF90AC
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b97af5; /* rgb */ color: rgb(185, 122, 245); /* oklch */ color: oklch(69.5% 0.182 305.9);
Tailwind
colors: {
custom: {
50: '#d1a2f9',
500: '#b97af5',
950: '#000000',
},
}SCSS
$custom: #b97af5; $custom-light: #d1a2f9; $custom-dark: #000000;
JSON
{
"hex": "#b97af5",
"rgb": {
"r": 185,
"g": 122,
"b": 245
},
"hsl": {
"h": 270.732,
"s": 86.014,
"l": 71.961
},
"oklch": {
"l": 0.69521,
"c": 0.18212,
"h": 305.9
},
"luminance": 0.30826
}Semantic roles & 50–950 ramp
primary
#B97AF5
secondary
#E5F5D6
accent
#E30370
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85