#982C9F#982C9F
#982C9F is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.194 H 325.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #982C9F |
|---|---|
| RGB | rgb(152, 44, 159) |
| HSL | hsl(296, 57%, 40%) |
| HSV | hsv(296, 72%, 62%) |
| CMYK | cmyk(4.4%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(39.55, 58.49, -39.72) |
| CIE-LCH | lch(39.55, 70.70, 325.82°) |
| OKLab | oklab(50.43% 0.1597 -0.1105) |
| OKLCH | oklch(50.43% 0.194 325.3) |
| XYZ | xyz(20.1071, 10.9813, 33.8547) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.96
Barney Purple
#A00498
ΔE00 3.42
Barney
#AC1DB8
ΔE00 4.59
Purply
#983FB2
ΔE00 4.63
Medium Purple
#9E43A2
ΔE00 4.72
Ugly Purple
#A442A0
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982C9F #339F2C
analogous
#5F2C9F #982C9F #9F2C6C
triadic
#982C9F #9F982C #2C9F98
tetradic
#982C9F #9F5F2C #339F2C #2C6C9F
square
#982C9F #9F5F2C #339F2C #2C6C9F
split-complementary
#982C9F #6C9F2C #2C9F5F
monochromatic
#3C113F #6A1F6F #982C9F #C13ECA #D16ED7
Accessibility & contrast
On white
6.57
#982C9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#982C9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982C9F
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982C9F | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B55A2
Deuteranopia (green-blind)
#44629C
Tritanopia (blue-blind)
#9C3F63
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #982c9f; /* rgb */ color: rgb(152, 44, 159); /* oklch */ color: oklch(50.4% 0.194 325.3);
Tailwind
colors: {
custom: {
50: '#ba70bc',
500: '#982c9f',
950: '#000000',
},
}SCSS
$custom: #982c9f; $custom-light: #ba70bc; $custom-dark: #000000;
JSON
{
"hex": "#982c9f",
"rgb": {
"r": 152,
"g": 44,
"b": 159
},
"hsl": {
"h": 296.348,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.5043,
"c": 0.1942,
"h": 325.3
},
"luminance": 0.1098
}Semantic roles & 50–950 ramp
primary
#982C9F
secondary
#6EBE69
accent
#E04851
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81