#B97EF9#B97EF9
#B97EF9 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.4% C 0.181 H 304.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B97EF9 |
|---|---|
| RGB | rgb(185, 126, 249) |
| HSL | hsl(269, 91%, 74%) |
| HSV | hsv(269, 49%, 98%) |
| CMYK | cmyk(25.7%, 49.4%, 0%, 2.4%) |
| CIE-LAB | lab(63.41, 46.17, -53.16) |
| CIE-LCH | lch(63.41, 70.41, 310.98°) |
| OKLab | oklab(70.36% 0.1018 -0.1492) |
| OKLCH | oklch(70.36% 0.181 304.3) |
| XYZ | xyz(44.5636, 32.0757, 93.4477) |
| Luminance | 0.3208 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.13
Easter Purple
#C071FE
ΔE00 3.19
Light Urple
#B36FF6
ΔE00 3.76
Liliac
#C48EFD
ΔE00 4.26
Bright Lavender
#C760FF
ΔE00 6.49
Bright Lilac
#C95EFB
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97EF9 #BEF97E
analogous
#7E80F9 #B97EF9 #F67EF9
triadic
#B97EF9 #F9B97E #7EF9B9
tetradic
#B97EF9 #F97E80 #BEF97E #7EF9F6
square
#B97EF9 #F97E80 #BEF97E #7EF9F6
split-complementary
#B97EF9 #F9F67E #80F97E
monochromatic
#7A0BF1 #9944F6 #B97EF9 #D9B8FC #EFE2FE
Accessibility & contrast
On white
2.83
#B97EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#B97EF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97EF9
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97EF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97EF9 | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5998FD
Deuteranopia (green-blind)
#699AF6
Tritanopia (blue-blind)
#AE94B0
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b97ef9; /* rgb */ color: rgb(185, 126, 249); /* oklch */ color: oklch(70.4% 0.181 304.3);
Tailwind
colors: {
custom: {
50: '#d1a5fc',
500: '#b97ef9',
950: '#000000',
},
}SCSS
$custom: #b97ef9; $custom-light: #d1a5fc; $custom-dark: #000000;
JSON
{
"hex": "#b97ef9",
"rgb": {
"r": 185,
"g": 126,
"b": 249
},
"hsl": {
"h": 268.78,
"s": 91.111,
"l": 73.529
},
"oklch": {
"l": 0.70363,
"c": 0.18064,
"h": 304.3
},
"luminance": 0.32076
}Semantic roles & 50–950 ramp
primary
#B97EF9
secondary
#E6F6D5
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85