#982C9E#982C9E
#982C9E is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.193 H 325.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #982C9E |
|---|---|
| RGB | rgb(152, 44, 158) |
| HSL | hsl(297, 56%, 40%) |
| HSV | hsv(297, 72%, 62%) |
| CMYK | cmyk(3.8%, 72.2%, 0%, 38%) |
| CIE-LAB | lab(39.49, 58.31, -39.21) |
| CIE-LCH | lch(39.49, 70.27, 326.08°) |
| OKLab | oklab(50.37% 0.1597 -0.109) |
| OKLCH | oklch(50.37% 0.193 325.7) |
| XYZ | xyz(20.0207, 10.9467, 33.3995) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.78
Barney Purple
#A00498
ΔE00 3.34
Medium Purple
#9E43A2
ΔE00 4.71
Barney
#AC1DB8
ΔE00 4.71
Purply
#983FB2
ΔE00 4.77
Ugly Purple
#A442A0
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982C9E #329E2C
analogous
#5F2C9E #982C9E #9E2C6B
triadic
#982C9E #9E982C #2C9E98
tetradic
#982C9E #9E5F2C #329E2C #2C6B9E
square
#982C9E #9E5F2C #329E2C #2C6B9E
split-complementary
#982C9E #6B9E2C #2C9E5F
monochromatic
#3C113E #6A1F6E #982C9E #C23EC9 #D16ED7
Accessibility & contrast
On white
6.59
#982C9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#982C9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982C9E
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982C9E | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E54A1
Deuteranopia (green-blind)
#45629B
Tritanopia (blue-blind)
#9C3F62
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #982c9e; /* rgb */ color: rgb(152, 44, 158); /* oklch */ color: oklch(50.4% 0.193 325.7);
Tailwind
colors: {
custom: {
50: '#ba70bb',
500: '#982c9e',
950: '#000000',
},
}SCSS
$custom: #982c9e; $custom-light: #ba70bb; $custom-dark: #000000;
JSON
{
"hex": "#982c9e",
"rgb": {
"r": 152,
"g": 44,
"b": 158
},
"hsl": {
"h": 296.842,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.50369,
"c": 0.19337,
"h": 325.7
},
"luminance": 0.10945
}Semantic roles & 50–950 ramp
primary
#982C9E
secondary
#6DBE68
accent
#E04850
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81