#B97CF8#B97CF8
#B97CF8 is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.0% C 0.183 H 304.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B97CF8 |
|---|---|
| RGB | rgb(185, 124, 248) |
| HSL | hsl(270, 90%, 73%) |
| HSV | hsv(270, 50%, 97%) |
| CMYK | cmyk(25.4%, 50%, 0%, 2.7%) |
| CIE-LAB | lab(62.93, 47.01, -53.36) |
| CIE-LCH | lch(62.93, 71.11, 311.38°) |
| OKLab | oklab(70% 0.1043 -0.1498) |
| OKLCH | oklch(70% 0.183 304.9) |
| XYZ | xyz(44.1549, 31.5071, 92.5441) |
| Luminance | 0.3151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.71
Easter Purple
#C071FE
ΔE00 2.77
Light Urple
#B36FF6
ΔE00 3.31
Liliac
#C48EFD
ΔE00 4.69
Bright Lavender
#C760FF
ΔE00 6.04
Bright Lilac
#C95EFB
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97CF8 #BBF87C
analogous
#7C7DF8 #B97CF8 #F77CF8
triadic
#B97CF8 #F8B97C #7CF8B9
tetradic
#B97CF8 #F87C7D #BBF87C #7CF8F7
square
#B97CF8 #F87C7D #BBF87C #7CF8F7
split-complementary
#B97CF8 #F8F77C #7DF87C
monochromatic
#7B0DED #9A42F5 #B97CF8 #D8B6FB #EFE2FD
Accessibility & contrast
On white
2.88
#B97CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#B97CF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97CF8
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97CF8 | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#6898F5
Tritanopia (blue-blind)
#AE92AF
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b97cf8; /* rgb */ color: rgb(185, 124, 248); /* oklch */ color: oklch(70.0% 0.183 304.9);
Tailwind
colors: {
custom: {
50: '#d1a3fb',
500: '#b97cf8',
950: '#000000',
},
}SCSS
$custom: #b97cf8; $custom-light: #d1a3fb; $custom-dark: #000000;
JSON
{
"hex": "#b97cf8",
"rgb": {
"r": 185,
"g": 124,
"b": 248
},
"hsl": {
"h": 269.516,
"s": 89.855,
"l": 72.941
},
"oklch": {
"l": 0.69996,
"c": 0.18254,
"h": 304.9
},
"luminance": 0.31507
}Semantic roles & 50–950 ramp
primary
#B97CF8
secondary
#E6F6D5
accent
#E60075
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85