#B97CFA#B97CFA
#B97CFA is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.1% C 0.185 H 304.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B97CFA |
|---|---|
| RGB | rgb(185, 124, 250) |
| HSL | hsl(269, 93%, 73%) |
| HSV | hsv(269, 50%, 98%) |
| CMYK | cmyk(26%, 50.4%, 0%, 2%) |
| CIE-LAB | lab(63.04, 47.47, -54.29) |
| CIE-LCH | lch(63.04, 72.12, 311.17°) |
| OKLab | oklab(70.11% 0.1045 -0.1525) |
| OKLCH | oklch(70.11% 0.185 304.4) |
| XYZ | xyz(44.4668, 31.6319, 94.1869) |
| Luminance | 0.3163 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.85
Easter Purple
#C071FE
ΔE00 2.73
Light Urple
#B36FF6
ΔE00 3.31
Liliac
#C48EFD
ΔE00 4.71
Bright Lavender
#C760FF
ΔE00 6.03
Bright Lilac
#C95EFB
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97CFA #BDFA7C
analogous
#7C7EFA #B97CFA #F87CFA
triadic
#B97CFA #FAB97C #7CFAB9
tetradic
#B97CFA #FA7C7E #BDFA7C #7CFAF8
square
#B97CFA #FA7C7E #BDFA7C #7CFAF8
split-complementary
#B97CFA #FAF87C #7EFA7C
monochromatic
#7A09F2 #9A41F8 #B97CFA #D8B7FC #EFE2FE
Accessibility & contrast
On white
2.87
#B97CFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#B97CFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97CFA
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97CFA | 1.00 | 2.87 | 7.33 | 7.33 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#6699F7
Tritanopia (blue-blind)
#AE93B0
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b97cfa; /* rgb */ color: rgb(185, 124, 250); /* oklch */ color: oklch(70.1% 0.185 304.4);
Tailwind
colors: {
custom: {
50: '#d1a3fc',
500: '#b97cfa',
950: '#000000',
},
}SCSS
$custom: #b97cfa; $custom-light: #d1a3fc; $custom-dark: #000000;
JSON
{
"hex": "#b97cfa",
"rgb": {
"r": 185,
"g": 124,
"b": 250
},
"hsl": {
"h": 269.048,
"s": 92.647,
"l": 73.333
},
"oklch": {
"l": 0.70107,
"c": 0.18489,
"h": 304.4
},
"luminance": 0.31632
}Semantic roles & 50–950 ramp
primary
#B97CFA
secondary
#E6F6D5
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85