#984EBF#984EBF
#984EBF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.178 H 312.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #984EBF |
|---|---|
| RGB | rgb(152, 78, 191) |
| HSL | hsl(279, 47%, 53%) |
| HSV | hsv(279, 59%, 75%) |
| CMYK | cmyk(20.4%, 59.2%, 0%, 25.1%) |
| CIE-LAB | lab(46.83, 49.88, -47.03) |
| CIE-LCH | lch(46.83, 68.56, 316.69°) |
| OKLab | oklab(56.29% 0.12 -0.132) |
| OKLCH | oklch(56.29% 0.178 312.3) |
| XYZ | xyz(25.0756, 15.8864, 51.0256) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.97
Amethyst
#9B5FC0
ΔE00 4.57
Deep Lavender
#8D5EB7
ΔE00 4.69
Darkorchid
#9932CC
ΔE00 5.50
Medium Purple
#9E43A2
ΔE00 6.20
Lightish Purple
#A552E6
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984EBF #75BF4E
analogous
#5F4EBF #984EBF #BF4EAD
triadic
#984EBF #BF984E #4EBF98
tetradic
#984EBF #BF5F4E #75BF4E #4EADBF
square
#984EBF #BF5F4E #75BF4E #4EADBF
split-complementary
#984EBF #ADBF4E #4EBF5F
monochromatic
#54276C #773799 #984EBF #B27BCF #CCA8E0
Accessibility & contrast
On white
5.03
#984EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#984EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984EBF
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984EBF | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286BC3
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#94627F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #984ebf; /* rgb */ color: rgb(152, 78, 191); /* oklch */ color: oklch(56.3% 0.178 312.3);
Tailwind
colors: {
custom: {
50: '#b983d3',
500: '#984ebf',
950: '#000000',
},
}SCSS
$custom: #984ebf; $custom-light: #b983d3; $custom-dark: #000000;
JSON
{
"hex": "#984ebf",
"rgb": {
"r": 152,
"g": 78,
"b": 191
},
"hsl": {
"h": 279.292,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.56289,
"c": 0.17842,
"h": 312.3
},
"luminance": 0.15886
}Semantic roles & 50–950 ramp
primary
#984EBF
secondary
#ADCD9C
accent
#D7517F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83