#982BA2#982BA2
#982BA2 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.198 H 324.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #982BA2 |
|---|---|
| RGB | rgb(152, 43, 162) |
| HSL | hsl(295, 58%, 40%) |
| HSV | hsv(295, 73%, 64%) |
| CMYK | cmyk(6.2%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(39.60, 59.37, -41.44) |
| CIE-LCH | lch(39.60, 72.40, 325.09°) |
| OKLab | oklab(50.53% 0.1606 -0.1155) |
| OKLCH | oklch(50.53% 0.198 324.3) |
| XYZ | xyz(20.3338, 11.0131, 35.2301) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.52
Barney Purple
#A00498
ΔE00 3.60
Barney
#AC1DB8
ΔE00 4.25
Purply
#983FB2
ΔE00 4.37
Medium Purple
#9E43A2
ΔE00 4.92
Ugly Purple
#A442A0
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982BA2 #35A22B
analogous
#5C2BA2 #982BA2 #A22B70
triadic
#982BA2 #A2982B #2BA298
tetradic
#982BA2 #A25C2B #35A22B #2B70A2
square
#982BA2 #A25C2B #35A22B #2B70A2
split-complementary
#982BA2 #70A22B #2BA25C
monochromatic
#3D1141 #6B1E72 #982BA2 #C03ECC #D06FD9
Accessibility & contrast
On white
6.56
#982BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#982BA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982BA2
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982BA2 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#42629F
Tritanopia (blue-blind)
#9B4064
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #982ba2; /* rgb */ color: rgb(152, 43, 162); /* oklch */ color: oklch(50.5% 0.198 324.3);
Tailwind
colors: {
custom: {
50: '#ba70be',
500: '#982ba2',
950: '#000000',
},
}SCSS
$custom: #982ba2; $custom-light: #ba70be; $custom-dark: #000000;
JSON
{
"hex": "#982ba2",
"rgb": {
"r": 152,
"g": 43,
"b": 162
},
"hsl": {
"h": 294.958,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.50525,
"c": 0.1978,
"h": 324.3
},
"luminance": 0.11012
}Semantic roles & 50–950 ramp
primary
#982BA2
secondary
#70C069
accent
#E14754
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81