#B97FF3#B97FF3
#B97FF3 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.2% C 0.172 H 305.5°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B97FF3 |
|---|---|
| RGB | rgb(185, 127, 243) |
| HSL | hsl(270, 83%, 73%) |
| HSV | hsv(270, 48%, 95%) |
| CMYK | cmyk(23.9%, 47.7%, 0%, 4.7%) |
| CIE-LAB | lab(63.31, 44.25, -50.00) |
| CIE-LCH | lch(63.31, 66.77, 311.51°) |
| OKLab | oklab(70.2% 0.0999 -0.14) |
| OKLCH | oklch(70.2% 0.172 305.5) |
| XYZ | xyz(43.7712, 31.9644, 88.6404) |
| Luminance | 0.3196 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.20
Easter Purple
#C071FE
ΔE00 3.67
Liliac
#C48EFD
ΔE00 4.05
Light Urple
#B36FF6
ΔE00 4.13
Bright Lavender
#C760FF
ΔE00 6.84
Bright Lilac
#C95EFB
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97FF3 #B9F37F
analogous
#7F7FF3 #B97FF3 #F37FF3
triadic
#B97FF3 #F3B97F #7FF3B9
tetradic
#B97FF3 #F37F7F #B9F37F #7FF3F3
square
#B97FF3 #F37F7F #B9F37F #7FF3F3
split-complementary
#B97FF3 #F3F37F #7FF37F
monochromatic
#7C15E2 #9A47EE #B97FF3 #D8B7F8 #F0E3FC
Accessibility & contrast
On white
2.84
#B97FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#B97FF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97FF3
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97FF3 | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F97F7
Deuteranopia (green-blind)
#6E9AF0
Tritanopia (blue-blind)
#B093AE
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b97ff3; /* rgb */ color: rgb(185, 127, 243); /* oklch */ color: oklch(70.2% 0.172 305.5);
Tailwind
colors: {
custom: {
50: '#d0a5f7',
500: '#b97ff3',
950: '#000000',
},
}SCSS
$custom: #b97ff3; $custom-light: #d0a5f7; $custom-dark: #000000;
JSON
{
"hex": "#b97ff3",
"rgb": {
"r": 185,
"g": 127,
"b": 243
},
"hsl": {
"h": 270,
"s": 82.857,
"l": 72.549
},
"oklch": {
"l": 0.70196,
"c": 0.17198,
"h": 305.5
},
"luminance": 0.31964
}Semantic roles & 50–950 ramp
primary
#B97FF3
secondary
#E6F4D7
accent
#DF0673
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85