#B97BF2#B97BF2
#B97BF2 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.5% C 0.177 H 306.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B97BF2 |
|---|---|
| RGB | rgb(185, 123, 242) |
| HSL | hsl(271, 82%, 72%) |
| HSV | hsv(271, 49%, 95%) |
| CMYK | cmyk(23.6%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(62.42, 46.18, -50.87) |
| CIE-LCH | lch(62.42, 68.70, 312.23°) |
| OKLab | oklab(69.51% 0.1051 -0.1425) |
| OKLCH | oklch(69.51% 0.177 306.4) |
| XYZ | xyz(43.1143, 30.8914, 87.6785) |
| Luminance | 0.3089 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.44
Easter Purple
#C071FE
ΔE00 2.91
Light Urple
#B36FF6
ΔE00 3.27
Liliac
#C48EFD
ΔE00 4.95
Bright Lavender
#C760FF
ΔE00 5.95
Bright Lilac
#C95EFB
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97BF2 #B4F27B
analogous
#7E7BF2 #B97BF2 #F27BEF
triadic
#B97BF2 #F2B97B #7BF2B9
tetradic
#B97BF2 #F27E7B #B4F27B #7BEFF2
square
#B97BF2 #F27E7B #B4F27B #7BEFF2
split-complementary
#B97BF2 #EFF27B #7BF27E
monochromatic
#7D16DD #9B43ED #B97BF2 #D7B3F7 #F0E3FC
Accessibility & contrast
On white
2.93
#B97BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#B97BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97BF2
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97BF2 | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#6B97EF
Tritanopia (blue-blind)
#B090AB
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b97bf2; /* rgb */ color: rgb(185, 123, 242); /* oklch */ color: oklch(69.5% 0.177 306.4);
Tailwind
colors: {
custom: {
50: '#d0a3f7',
500: '#b97bf2',
950: '#000000',
},
}SCSS
$custom: #b97bf2; $custom-light: #d0a3f7; $custom-dark: #000000;
JSON
{
"hex": "#b97bf2",
"rgb": {
"r": 185,
"g": 123,
"b": 242
},
"hsl": {
"h": 271.261,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.69511,
"c": 0.17708,
"h": 306.4
},
"luminance": 0.30891
}Semantic roles & 50–950 ramp
primary
#B97BF2
secondary
#E4F4D5
accent
#DE076E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85