#982AA1#982AA1
#982AA1 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.198 H 324.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #982AA1 |
|---|---|
| RGB | rgb(152, 42, 161) |
| HSL | hsl(295, 59%, 40%) |
| HSV | hsv(295, 74%, 63%) |
| CMYK | cmyk(5.6%, 73.9%, 0%, 36.9%) |
| CIE-LAB | lab(39.42, 59.54, -41.13) |
| CIE-LCH | lch(39.42, 72.37, 325.37°) |
| OKLab | oklab(50.38% 0.1616 -0.1145) |
| OKLCH | oklch(50.38% 0.198 324.7) |
| XYZ | xyz(20.2094, 10.9058, 34.7519) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.37
Barney Purple
#A00498
ΔE00 3.40
Barney
#AC1DB8
ΔE00 4.37
Purply
#983FB2
ΔE00 4.59
Medium Purple
#9E43A2
ΔE00 5.03
Ugly Purple
#A442A0
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982AA1 #33A12A
analogous
#5C2AA1 #982AA1 #A12A6F
triadic
#982AA1 #A1982A #2AA198
tetradic
#982AA1 #A15C2A #33A12A #2A6FA1
square
#982AA1 #A15C2A #33A12A #2A6FA1
split-complementary
#982AA1 #6FA12A #2AA15C
monochromatic
#3C1140 #6A1D70 #982AA1 #C13CCC #D16DD9
Accessibility & contrast
On white
6.60
#982AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#982AA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982AA1
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982AA1 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#42619E
Tritanopia (blue-blind)
#9B3F63
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #982aa1; /* rgb */ color: rgb(152, 42, 161); /* oklch */ color: oklch(50.4% 0.198 324.7);
Tailwind
colors: {
custom: {
50: '#ba6fbd',
500: '#982aa1',
950: '#000000',
},
}SCSS
$custom: #982aa1; $custom-light: #ba6fbd; $custom-dark: #000000;
JSON
{
"hex": "#982aa1",
"rgb": {
"r": 152,
"g": 42,
"b": 161
},
"hsl": {
"h": 295.462,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.50377,
"c": 0.19807,
"h": 324.7
},
"luminance": 0.10905
}Semantic roles & 50–950 ramp
primary
#982AA1
secondary
#6EC067
accent
#E24652
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81