#984E97#984E97
#984E97 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.1% C 0.137 H 327.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #984E97 |
|---|---|
| RGB | rgb(152, 78, 151) |
| HSL | hsl(301, 32%, 45%) |
| HSV | hsv(301, 49%, 60%) |
| CMYK | cmyk(0%, 48.7%, 0.7%, 40.4%) |
| CIE-LAB | lab(44.74, 41.68, -26.73) |
| CIE-LCH | lch(44.74, 49.52, 327.32°) |
| OKLab | oklab(54.08% 0.1161 -0.0732) |
| OKLCH | oklch(54.08% 0.137 327.8) |
| XYZ | xyz(21.2589, 14.3597, 30.9241) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.51
Medium Purple
#9E43A2
ΔE00 3.52
Purplish
#94568C
ΔE00 3.84
Purpleish
#98568D
ΔE00 3.87
Light Eggplant
#894585
ΔE00 4.58
Purply
#983FB2
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984E97 #4E984F
analogous
#744E98 #984E97 #984E72
triadic
#984E97 #97984E #4E9798
tetradic
#984E97 #98744E #4E984F #4E7298
square
#984E97 #98744E #4E984F #4E7298
split-complementary
#984E97 #72984E #4E9874
monochromatic
#472447 #70396F #984E97 #B56EB4 #CA97C9
Accessibility & contrast
On white
5.42
#984E97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#984E97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984E97
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984E97 | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486499
Deuteranopia (green-blind)
#5D6D95
Tritanopia (blue-blind)
#9C566B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #984e97; /* rgb */ color: rgb(152, 78, 151); /* oklch */ color: oklch(54.1% 0.137 327.8);
Tailwind
colors: {
custom: {
50: '#b882b6',
500: '#984e97',
950: '#000000',
},
}SCSS
$custom: #984e97; $custom-light: #b882b6; $custom-dark: #000000;
JSON
{
"hex": "#984e97",
"rgb": {
"r": 152,
"g": 78,
"b": 151
},
"hsl": {
"h": 300.811,
"s": 32.174,
"l": 45.098
},
"oklch": {
"l": 0.54083,
"c": 0.13727,
"h": 327.8
},
"luminance": 0.14359
}Semantic roles & 50–950 ramp
primary
#984E97
secondary
#8CB68C
accent
#C8615F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80