#B986FA#B986FA
#B986FA is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.7% C 0.169 H 302.6°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B986FA |
|---|---|
| RGB | rgb(185, 134, 250) |
| HSL | hsl(266, 92%, 75%) |
| HSV | hsv(266, 46%, 98%) |
| CMYK | cmyk(26%, 46.4%, 0%, 2%) |
| CIE-LAB | lab(65.17, 42.06, -50.90) |
| CIE-LCH | lch(65.17, 66.03, 309.57°) |
| OKLab | oklab(71.7% 0.0914 -0.1427) |
| OKLCH | oklch(71.7% 0.169 302.6) |
| XYZ | xyz(45.7842, 34.2666, 94.6260) |
| Luminance | 0.3427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.69
Light Purple
#BF77F6
ΔE00 3.92
Easter Purple
#C071FE
ΔE00 5.08
Light Urple
#B36FF6
ΔE00 5.68
Baby Purple
#CA9BF7
ΔE00 6.31
Pastel Purple
#CAA0FF
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B986FA #C7FA86
analogous
#868DFA #B986FA #F386FA
triadic
#B986FA #FAB986 #86FAB9
tetradic
#B986FA #FA868D #C7FA86 #86FAF3
square
#B986FA #FA868D #C7FA86 #86FAF3
split-complementary
#B986FA #FAF386 #8DFA86
monochromatic
#7510F5 #974BF8 #B986FA #DBC1FC #EEE2FE
Accessibility & contrast
On white
2.67
#B986FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#B986FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B986FA
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B986FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B986FA | 1.00 | 2.67 | 7.85 | 7.85 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#AD9AB4
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b986fa; /* rgb */ color: rgb(185, 134, 250); /* oklch */ color: oklch(71.7% 0.169 302.6);
Tailwind
colors: {
custom: {
50: '#d0aafc',
500: '#b986fa',
950: '#000000',
},
}SCSS
$custom: #b986fa; $custom-light: #d0aafc; $custom-dark: #000000;
JSON
{
"hex": "#b986fa",
"rgb": {
"r": 185,
"g": 134,
"b": 250
},
"hsl": {
"h": 266.379,
"s": 92.063,
"l": 75.294
},
"oklch": {
"l": 0.71699,
"c": 0.16943,
"h": 302.6
},
"luminance": 0.34267
}Semantic roles & 50–950 ramp
primary
#B986FA
secondary
#E7F6D5
accent
#E60081
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85