#982E9A#982E9A
#982E9A is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.188 H 327.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #982E9A |
|---|---|
| RGB | rgb(152, 46, 154) |
| HSL | hsl(299, 54%, 39%) |
| HSV | hsv(299, 70%, 60%) |
| CMYK | cmyk(1.3%, 70.1%, 0%, 39.6%) |
| CIE-LAB | lab(39.52, 56.88, -36.75) |
| CIE-LCH | lch(39.52, 67.72, 327.14°) |
| OKLab | oklab(50.32% 0.1577 -0.1018) |
| OKLCH | oklch(50.32% 0.188 327.1) |
| XYZ | xyz(19.7583, 10.9638, 31.6411) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.01
Barney Purple
#A00498
ΔE00 3.38
Medium Purple
#9E43A2
ΔE00 4.46
Ugly Purple
#A442A0
ΔE00 5.01
Purply
#983FB2
ΔE00 5.18
Barney
#AC1DB8
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982E9A #309A2E
analogous
#622E9A #982E9A #9A2E66
triadic
#982E9A #9A982E #2E9A98
tetradic
#982E9A #9A622E #309A2E #2E669A
square
#982E9A #9A622E #309A2E #2E669A
split-complementary
#982E9A #669A2E #2E9A62
monochromatic
#3B123C #69206B #982E9A #C33FC6 #D26FD4
Accessibility & contrast
On white
6.58
#982E9A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#982E9A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982E9A
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982E9A | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A549D
Deuteranopia (green-blind)
#486297
Tritanopia (blue-blind)
#9C3E61
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #982e9a; /* rgb */ color: rgb(152, 46, 154); /* oklch */ color: oklch(50.3% 0.188 327.1);
Tailwind
colors: {
custom: {
50: '#ba71b8',
500: '#982e9a',
950: '#000000',
},
}SCSS
$custom: #982e9a; $custom-light: #ba71b8; $custom-dark: #000000;
JSON
{
"hex": "#982e9a",
"rgb": {
"r": 152,
"g": 46,
"b": 154
},
"hsl": {
"h": 298.889,
"s": 54,
"l": 39.216
},
"oklch": {
"l": 0.50316,
"c": 0.18772,
"h": 327.1
},
"luminance": 0.10962
}Semantic roles & 50–950 ramp
primary
#982E9A
secondary
#6ABB69
accent
#DD4A4D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80