#B97BFC#B97BFC
#B97BFC is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.1% C 0.189 H 304.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B97BFC |
|---|---|
| RGB | rgb(185, 123, 252) |
| HSL | hsl(269, 96%, 74%) |
| HSV | hsv(269, 51%, 99%) |
| CMYK | cmyk(26.6%, 51.2%, 0%, 1.2%) |
| CIE-LAB | lab(62.93, 48.47, -55.55) |
| CIE-LCH | lch(62.93, 73.73, 311.10°) |
| OKLab | oklab(70.07% 0.106 -0.1562) |
| OKLCH | oklch(70.07% 0.189 304.1) |
| XYZ | xyz(44.6574, 31.5086, 95.8057) |
| Luminance | 0.3151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.91
Easter Purple
#C071FE
ΔE00 2.50
Light Urple
#B36FF6
ΔE00 3.12
Liliac
#C48EFD
ΔE00 4.97
Bright Lavender
#C760FF
ΔE00 5.81
Bright Lilac
#C95EFB
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97BFC #BEFC7B
analogous
#7B7DFC #B97BFC #F97BFC
triadic
#B97BFC #FCB97B #7BFCB9
tetradic
#B97BFC #FC7B7D #BEFC7B #7BFCF9
square
#B97BFC #FC7B7D #BEFC7B #7BFCF9
split-complementary
#B97BFC #FCF97B #7DFC7B
monochromatic
#7A06F7 #993FFB #B97BFC #D9B7FD #EFE1FE
Accessibility & contrast
On white
2.88
#B97BFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#B97BFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97BFC
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97BFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97BFC | 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)
#5197FF
Deuteranopia (green-blind)
#6498F9
Tritanopia (blue-blind)
#AD93B0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b97bfc; /* rgb */ color: rgb(185, 123, 252); /* oklch */ color: oklch(70.1% 0.189 304.1);
Tailwind
colors: {
custom: {
50: '#d1a3fe',
500: '#b97bfc',
950: '#000000',
},
}SCSS
$custom: #b97bfc; $custom-light: #d1a3fe; $custom-dark: #000000;
JSON
{
"hex": "#b97bfc",
"rgb": {
"r": 185,
"g": 123,
"b": 252
},
"hsl": {
"h": 268.837,
"s": 95.556,
"l": 73.529
},
"oklch": {
"l": 0.70065,
"c": 0.18874,
"h": 304.1
},
"luminance": 0.31508
}Semantic roles & 50–950 ramp
primary
#B97BFC
secondary
#E6F7D4
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86