#984EBB#984EBB
#984EBB is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.0% C 0.174 H 313.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #984EBB |
|---|---|
| RGB | rgb(152, 78, 187) |
| HSL | hsl(281, 44%, 52%) |
| HSV | hsv(281, 58%, 73%) |
| CMYK | cmyk(18.7%, 58.3%, 0%, 26.7%) |
| CIE-LAB | lab(46.60, 49.01, -45.07) |
| CIE-LCH | lch(46.60, 66.58, 317.40°) |
| OKLab | oklab(56.05% 0.1199 -0.1263) |
| OKLCH | oklch(56.05% 0.174 313.5) |
| XYZ | xyz(24.6414, 15.7127, 48.7389) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.62
Amethyst
#9B5FC0
ΔE00 4.62
Deep Lavender
#8D5EB7
ΔE00 4.63
Medium Purple
#9E43A2
ΔE00 5.57
Darkorchid
#9932CC
ΔE00 5.78
Ugly Purple
#A442A0
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984EBB #71BB4E
analogous
#624EBB #984EBB #BB4EA8
triadic
#984EBB #BB984E #4EBB98
tetradic
#984EBB #BB624E #71BB4E #4EA8BB
square
#984EBB #BB624E #71BB4E #4EA8BB
split-complementary
#984EBB #A8BB4E #4EBB62
monochromatic
#532867 #763993 #984EBB #B27ACC #CBA6DD
Accessibility & contrast
On white
5.07
#984EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#984EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984EBB
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984EBB | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#95617D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #984ebb; /* rgb */ color: rgb(152, 78, 187); /* oklch */ color: oklch(56.0% 0.174 313.5);
Tailwind
colors: {
custom: {
50: '#b983d0',
500: '#984ebb',
950: '#000000',
},
}SCSS
$custom: #984ebb; $custom-light: #b983d0; $custom-dark: #000000;
JSON
{
"hex": "#984ebb",
"rgb": {
"r": 152,
"g": 78,
"b": 187
},
"hsl": {
"h": 280.734,
"s": 44.49,
"l": 51.961
},
"oklch": {
"l": 0.56047,
"c": 0.17416,
"h": 313.5
},
"luminance": 0.15712
}Semantic roles & 50–950 ramp
primary
#984EBB
secondary
#AACA9B
accent
#D4547D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82