#982EA1#982EA1
#982EA1 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.194 H 324.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #982EA1 |
|---|---|
| RGB | rgb(152, 46, 161) |
| HSL | hsl(295, 56%, 41%) |
| HSV | hsv(295, 71%, 63%) |
| CMYK | cmyk(5.6%, 71.4%, 0%, 36.9%) |
| CIE-LAB | lab(39.92, 58.12, -40.33) |
| CIE-LCH | lch(39.92, 70.74, 325.24°) |
| OKLab | oklab(50.73% 0.1577 -0.1122) |
| OKLCH | oklch(50.73% 0.194 324.6) |
| XYZ | xyz(20.3584, 11.2039, 34.8016) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.30
Barney Purple
#A00498
ΔE00 3.82
Purply
#983FB2
ΔE00 4.18
Barney
#AC1DB8
ΔE00 4.36
Medium Purple
#9E43A2
ΔE00 4.46
Ugly Purple
#A442A0
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982EA1 #37A12E
analogous
#5E2EA1 #982EA1 #A12E71
triadic
#982EA1 #A1982E #2EA198
tetradic
#982EA1 #A15E2E #37A12E #2E71A1
square
#982EA1 #A15E2E #37A12E #2E71A1
split-complementary
#982EA1 #71A12E #2EA15E
monochromatic
#3E1342 #6B2071 #982EA1 #BF43C9 #CF73D7
Accessibility & contrast
On white
6.48
#982EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#982EA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982EA1
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982EA1 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C56A4
Deuteranopia (green-blind)
#44629E
Tritanopia (blue-blind)
#9B4164
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #982ea1; /* rgb */ color: rgb(152, 46, 161); /* oklch */ color: oklch(50.7% 0.194 324.6);
Tailwind
colors: {
custom: {
50: '#ba71bd',
500: '#982ea1',
950: '#000000',
},
}SCSS
$custom: #982ea1; $custom-light: #ba71bd; $custom-dark: #000000;
JSON
{
"hex": "#982ea1",
"rgb": {
"r": 152,
"g": 46,
"b": 161
},
"hsl": {
"h": 295.304,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.50734,
"c": 0.19354,
"h": 324.6
},
"luminance": 0.11203
}Semantic roles & 50–950 ramp
primary
#982EA1
secondary
#73BE6C
accent
#DF4955
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81