#B97AFC#B97AFC
#B97AFC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.9% C 0.190 H 304.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B97AFC |
|---|---|
| RGB | rgb(185, 122, 252) |
| HSL | hsl(269, 96%, 73%) |
| HSV | hsv(269, 52%, 99%) |
| CMYK | cmyk(26.6%, 51.6%, 0%, 1.2%) |
| CIE-LAB | lab(62.73, 49.00, -55.88) |
| CIE-LCH | lch(62.73, 74.33, 311.25°) |
| OKLab | oklab(69.91% 0.1072 -0.1572) |
| OKLCH | oklch(69.91% 0.19 304.3) |
| XYZ | xyz(44.5340, 31.2618, 95.7646) |
| Luminance | 0.3126 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.80
Easter Purple
#C071FE
ΔE00 2.30
Light Urple
#B36FF6
ΔE00 2.90
Liliac
#C48EFD
ΔE00 5.19
Bright Lavender
#C760FF
ΔE00 5.59
Bright Lilac
#C95EFB
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97AFC #BDFC7A
analogous
#7A7CFC #B97AFC #FA7AFC
triadic
#B97AFC #FCB97A #7AFCB9
tetradic
#B97AFC #FC7A7C #BDFC7A #7AFCFA
square
#B97AFC #FC7A7C #BDFC7A #7AFCFA
split-complementary
#B97AFC #FCFA7A #7CFC7A
monochromatic
#7A06F6 #993EFB #B97AFC #D8B6FD #EFE1FE
Accessibility & contrast
On white
2.90
#B97AFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#B97AFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97AFC
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97AFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97AFC | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#AD92B0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b97afc; /* rgb */ color: rgb(185, 122, 252); /* oklch */ color: oklch(69.9% 0.190 304.3);
Tailwind
colors: {
custom: {
50: '#d1a2fe',
500: '#b97afc',
950: '#000000',
},
}SCSS
$custom: #b97afc; $custom-light: #d1a2fe; $custom-dark: #000000;
JSON
{
"hex": "#b97afc",
"rgb": {
"r": 185,
"g": 122,
"b": 252
},
"hsl": {
"h": 269.077,
"s": 95.588,
"l": 73.333
},
"oklch": {
"l": 0.69912,
"c": 0.19026,
"h": 304.3
},
"luminance": 0.31262
}Semantic roles & 50–950 ramp
primary
#B97AFC
secondary
#E6F7D4
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86