#982CA1#982CA1
#982CA1 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.196 H 324.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #982CA1 |
|---|---|
| RGB | rgb(152, 44, 161) |
| HSL | hsl(295, 57%, 40%) |
| HSV | hsv(295, 73%, 63%) |
| CMYK | cmyk(5.6%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(39.67, 58.84, -40.73) |
| CIE-LCH | lch(39.67, 71.57, 325.31°) |
| OKLab | oklab(50.55% 0.1597 -0.1134) |
| OKLCH | oklch(50.55% 0.196 324.6) |
| XYZ | xyz(20.2821, 11.0513, 34.7761) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.33
Barney Purple
#A00498
ΔE00 3.60
Barney
#AC1DB8
ΔE00 4.36
Purply
#983FB2
ΔE00 4.38
Medium Purple
#9E43A2
ΔE00 4.75
Ugly Purple
#A442A0
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982CA1 #35A12C
analogous
#5E2CA1 #982CA1 #A12C6F
triadic
#982CA1 #A1982C #2CA198
tetradic
#982CA1 #A15E2C #35A12C #2C6FA1
square
#982CA1 #A15E2C #35A12C #2C6FA1
split-complementary
#982CA1 #6FA12C #2CA15E
monochromatic
#3D1241 #6B1F71 #982CA1 #C040CB #D070D8
Accessibility & contrast
On white
6.54
#982CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#982CA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982CA1
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982CA1 | 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)
#0455A4
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#9B4064
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #982ca1; /* rgb */ color: rgb(152, 44, 161); /* oklch */ color: oklch(50.6% 0.196 324.6);
Tailwind
colors: {
custom: {
50: '#ba70bd',
500: '#982ca1',
950: '#000000',
},
}SCSS
$custom: #982ca1; $custom-light: #ba70bd; $custom-dark: #000000;
JSON
{
"hex": "#982ca1",
"rgb": {
"r": 152,
"g": 44,
"b": 161
},
"hsl": {
"h": 295.385,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.50552,
"c": 0.19585,
"h": 324.6
},
"luminance": 0.1105
}Semantic roles & 50–950 ramp
primary
#982CA1
secondary
#70BF6A
accent
#E04753
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81