#984BAE#984BAE
#984BAE is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.9% C 0.165 H 318.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #984BAE |
|---|---|
| RGB | rgb(152, 75, 174) |
| HSL | hsl(287, 40%, 49%) |
| HSV | hsv(287, 57%, 68%) |
| CMYK | cmyk(12.6%, 56.9%, 0%, 31.8%) |
| CIE-LAB | lab(45.31, 47.78, -39.50) |
| CIE-LCH | lch(45.31, 61.99, 320.42°) |
| OKLab | oklab(54.87% 0.1232 -0.11) |
| OKLCH | oklch(54.87% 0.165 318.2) |
| XYZ | xyz(23.1039, 14.7644, 41.6690) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.76
Medium Purple
#9E43A2
ΔE00 3.23
Ugly Purple
#A442A0
ΔE00 4.38
Deep Lavender
#8D5EB7
ΔE00 5.76
Amethyst
#9B5FC0
ΔE00 6.06
Barney
#AC1DB8
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984BAE #61AE4B
analogous
#674BAE #984BAE #AE4B93
triadic
#984BAE #AE984B #4BAE98
tetradic
#984BAE #AE674B #61AE4B #4B93AE
square
#984BAE #AE674B #61AE4B #4B93AE
split-complementary
#984BAE #93AE4B #4BAE67
monochromatic
#4D2658 #733983 #984BAE #B173C3 #C99ED5
Accessibility & contrast
On white
5.31
#984BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#984BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984BAE
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984BAE | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#985A75
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #984bae; /* rgb */ color: rgb(152, 75, 174); /* oklch */ color: oklch(54.9% 0.165 318.2);
Tailwind
colors: {
custom: {
50: '#b981c6',
500: '#984bae',
950: '#000000',
},
}SCSS
$custom: #984bae; $custom-light: #b981c6; $custom-dark: #000000;
JSON
{
"hex": "#984bae",
"rgb": {
"r": 152,
"g": 75,
"b": 174
},
"hsl": {
"h": 286.667,
"s": 39.759,
"l": 48.824
},
"oklch": {
"l": 0.54874,
"c": 0.1652,
"h": 318.2
},
"luminance": 0.14764
}Semantic roles & 50–950 ramp
primary
#984BAE
secondary
#9DC293
accent
#D05873
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82