#982BA3#982BA3
#982BA3 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.6% C 0.199 H 323.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #982BA3 |
|---|---|
| RGB | rgb(152, 43, 163) |
| HSL | hsl(295, 58%, 40%) |
| HSV | hsv(295, 74%, 64%) |
| CMYK | cmyk(6.7%, 73.6%, 0%, 36.1%) |
| CIE-LAB | lab(39.66, 59.55, -41.94) |
| CIE-LCH | lch(39.66, 72.84, 324.84°) |
| OKLab | oklab(50.59% 0.1606 -0.1169) |
| OKLCH | oklch(50.59% 0.199 323.9) |
| XYZ | xyz(20.4231, 11.0488, 35.7001) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.70
Barney Purple
#A00498
ΔE00 3.71
Barney
#AC1DB8
ΔE00 4.15
Purply
#983FB2
ΔE00 4.26
Medium Purple
#9E43A2
ΔE00 4.95
Ugly Purple
#A442A0
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982BA3 #36A32B
analogous
#5C2BA3 #982BA3 #A32B72
triadic
#982BA3 #A3982B #2BA398
tetradic
#982BA3 #A35C2B #36A32B #2B72A3
square
#982BA3 #A35C2B #36A32B #2B72A3
split-complementary
#982BA3 #72A32B #2BA35C
monochromatic
#3E1142 #6B1E73 #982BA3 #BF3FCC #CF6FD9
Accessibility & contrast
On white
6.54
#982BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#982BA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982BA3
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982BA3 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#4162A0
Tritanopia (blue-blind)
#9B4065
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #982ba3; /* rgb */ color: rgb(152, 43, 163); /* oklch */ color: oklch(50.6% 0.199 323.9);
Tailwind
colors: {
custom: {
50: '#ba70bf',
500: '#982ba3',
950: '#000000',
},
}SCSS
$custom: #982ba3; $custom-light: #ba70bf; $custom-dark: #000000;
JSON
{
"hex": "#982ba3",
"rgb": {
"r": 152,
"g": 43,
"b": 163
},
"hsl": {
"h": 294.5,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.50587,
"c": 0.19863,
"h": 323.9
},
"luminance": 0.11047
}Semantic roles & 50–950 ramp
primary
#982BA3
secondary
#72C06A
accent
#E14655
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81