#B984FA#B984FA
#B984FA is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.4% C 0.173 H 303.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B984FA |
|---|---|
| RGB | rgb(185, 132, 250) |
| HSL | hsl(267, 92%, 75%) |
| HSV | hsv(267, 47%, 98%) |
| CMYK | cmyk(26%, 47.2%, 0%, 2%) |
| CIE-LAB | lab(64.74, 43.15, -51.59) |
| CIE-LCH | lch(64.74, 67.26, 309.91°) |
| OKLab | oklab(71.37% 0.094 -0.1447) |
| OKLCH | oklch(71.37% 0.173 303) |
| XYZ | xyz(45.5104, 33.7190, 94.5348) |
| Luminance | 0.3372 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.04
Light Purple
#BF77F6
ΔE00 3.45
Easter Purple
#C071FE
ΔE00 4.59
Light Urple
#B36FF6
ΔE00 5.19
Baby Purple
#CA9BF7
ΔE00 6.72
Pastel Purple
#CAA0FF
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B984FA #C5FA84
analogous
#848AFA #B984FA #F484FA
triadic
#B984FA #FAB984 #84FAB9
tetradic
#B984FA #FA848A #C5FA84 #84FAF4
square
#B984FA #FA848A #C5FA84 #84FAF4
split-complementary
#B984FA #FAF484 #8AFA84
monochromatic
#760EF5 #9849F8 #B984FA #DABFFC #EEE2FE
Accessibility & contrast
On white
2.71
#B984FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#B984FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B984FA
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B984FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B984FA | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#AD99B3
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b984fa; /* rgb */ color: rgb(185, 132, 250); /* oklch */ color: oklch(71.4% 0.173 303.0);
Tailwind
colors: {
custom: {
50: '#d0a9fc',
500: '#b984fa',
950: '#000000',
},
}SCSS
$custom: #b984fa; $custom-light: #d0a9fc; $custom-dark: #000000;
JSON
{
"hex": "#b984fa",
"rgb": {
"r": 185,
"g": 132,
"b": 250
},
"hsl": {
"h": 266.949,
"s": 92.188,
"l": 74.902
},
"oklch": {
"l": 0.71374,
"c": 0.17254,
"h": 303
},
"luminance": 0.33719
}Semantic roles & 50–950 ramp
primary
#B984FA
secondary
#E7F6D5
accent
#E6007E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85