#B97EF6#B97EF6
#B97EF6 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.2% C 0.177 H 305.0°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B97EF6 |
|---|---|
| RGB | rgb(185, 126, 246) |
| HSL | hsl(270, 87%, 73%) |
| HSV | hsv(270, 49%, 96%) |
| CMYK | cmyk(24.8%, 48.8%, 0%, 3.5%) |
| CIE-LAB | lab(63.25, 45.48, -51.75) |
| CIE-LCH | lch(63.25, 68.89, 311.31°) |
| OKLab | oklab(70.2% 0.1015 -0.1451) |
| OKLCH | oklch(70.2% 0.177 305) |
| XYZ | xyz(44.0995, 31.8901, 91.0031) |
| Luminance | 0.3189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.00
Easter Purple
#C071FE
ΔE00 3.29
Light Urple
#B36FF6
ΔE00 3.80
Liliac
#C48EFD
ΔE00 4.24
Bright Lavender
#C760FF
ΔE00 6.53
Bright Lilac
#C95EFB
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97EF6 #BBF67E
analogous
#7E7FF6 #B97EF6 #F57EF6
triadic
#B97EF6 #F6B97E #7EF6B9
tetradic
#B97EF6 #F67E7F #BBF67E #7EF6F5
square
#B97EF6 #F67E7F #BBF67E #7EF6F5
split-complementary
#B97EF6 #F6F57E #7FF67E
monochromatic
#7B10E9 #9A45F2 #B97EF6 #D8B7FA #EFE2FD
Accessibility & contrast
On white
2.85
#B97EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#B97EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97EF6
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97EF6 | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B97FA
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#AF93AF
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b97ef6; /* rgb */ color: rgb(185, 126, 246); /* oklch */ color: oklch(70.2% 0.177 305.0);
Tailwind
colors: {
custom: {
50: '#d0a5fa',
500: '#b97ef6',
950: '#000000',
},
}SCSS
$custom: #b97ef6; $custom-light: #d0a5fa; $custom-dark: #000000;
JSON
{
"hex": "#b97ef6",
"rgb": {
"r": 185,
"g": 126,
"b": 246
},
"hsl": {
"h": 269.5,
"s": 86.957,
"l": 72.941
},
"oklch": {
"l": 0.70199,
"c": 0.17709,
"h": 305
},
"luminance": 0.3189
}Semantic roles & 50–950 ramp
primary
#B97EF6
secondary
#E6F5D6
accent
#E40275
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85