#982CA3#982CA3
#982CA3 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.198 H 323.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #982CA3 |
|---|---|
| RGB | rgb(152, 44, 163) |
| HSL | hsl(294, 57%, 41%) |
| HSV | hsv(294, 73%, 64%) |
| CMYK | cmyk(6.7%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(39.79, 59.20, -41.74) |
| CIE-LCH | lch(39.79, 72.44, 324.81°) |
| OKLab | oklab(50.68% 0.1596 -0.1164) |
| OKLCH | oklch(50.68% 0.198 323.9) |
| XYZ | xyz(20.4599, 11.1224, 35.7124) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.68
Barney Purple
#A00498
ΔE00 3.80
Barney
#AC1DB8
ΔE00 4.14
Purply
#983FB2
ΔE00 4.15
Medium Purple
#9E43A2
ΔE00 4.81
Ugly Purple
#A442A0
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982CA3 #37A32C
analogous
#5C2CA3 #982CA3 #A32C72
triadic
#982CA3 #A3982C #2CA398
tetradic
#982CA3 #A35C2C #37A32C #2C72A3
square
#982CA3 #A35C2C #37A32C #2C72A3
split-complementary
#982CA3 #72A32C #2CA35C
monochromatic
#3E1243 #6B1F73 #982CA3 #BF41CC #CF71D9
Accessibility & contrast
On white
6.51
#982CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#982CA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982CA3
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982CA3 | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#4162A0
Tritanopia (blue-blind)
#9B4165
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #982ca3; /* rgb */ color: rgb(152, 44, 163); /* oklch */ color: oklch(50.7% 0.198 323.9);
Tailwind
colors: {
custom: {
50: '#ba70bf',
500: '#982ca3',
950: '#000000',
},
}SCSS
$custom: #982ca3; $custom-light: #ba70bf; $custom-dark: #000000;
JSON
{
"hex": "#982ca3",
"rgb": {
"r": 152,
"g": 44,
"b": 163
},
"hsl": {
"h": 294.454,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.50675,
"c": 0.19751,
"h": 323.9
},
"luminance": 0.11121
}Semantic roles & 50–950 ramp
primary
#982CA3
secondary
#73C06B
accent
#E14755
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81