#B97AF2#B97AF2
#B97AF2 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.4% C 0.179 H 306.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B97AF2 |
|---|---|
| RGB | rgb(185, 122, 242) |
| HSL | hsl(272, 82%, 71%) |
| HSV | hsv(272, 50%, 95%) |
| CMYK | cmyk(23.6%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(62.21, 46.71, -51.20) |
| CIE-LCH | lch(62.21, 69.31, 312.38°) |
| OKLab | oklab(69.36% 0.1064 -0.1435) |
| OKLCH | oklch(69.36% 0.179 306.6) |
| XYZ | xyz(42.9909, 30.6445, 87.6374) |
| Luminance | 0.3064 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.29
Easter Purple
#C071FE
ΔE00 2.72
Light Urple
#B36FF6
ΔE00 3.06
Liliac
#C48EFD
ΔE00 5.17
Bright Lavender
#C760FF
ΔE00 5.72
Bright Lilac
#C95EFB
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97AF2 #B3F27A
analogous
#7D7AF2 #B97AF2 #F27AEF
triadic
#B97AF2 #F2B97A #7AF2B9
tetradic
#B97AF2 #F27D7A #B3F27A #7AEFF2
square
#B97AF2 #F27D7A #B3F27A #7AEFF2
split-complementary
#B97AF2 #EFF27A #7AF27D
monochromatic
#7E16DC #9C42ED #B97AF2 #D6B2F7 #F0E3FC
Accessibility & contrast
On white
2.95
#B97AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#B97AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97AF2
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97AF2 | 1.00 | 2.95 | 7.13 | 7.13 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#B08FAB
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b97af2; /* rgb */ color: rgb(185, 122, 242); /* oklch */ color: oklch(69.4% 0.179 306.6);
Tailwind
colors: {
custom: {
50: '#d0a2f7',
500: '#b97af2',
950: '#000000',
},
}SCSS
$custom: #b97af2; $custom-light: #d0a2f7; $custom-dark: #000000;
JSON
{
"hex": "#b97af2",
"rgb": {
"r": 185,
"g": 122,
"b": 242
},
"hsl": {
"h": 271.5,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.69356,
"c": 0.17863,
"h": 306.6
},
"luminance": 0.30644
}Semantic roles & 50–950 ramp
primary
#B97AF2
secondary
#E3F3D4
accent
#DF076D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85