#982F97#982F97
#982F97 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.184 H 328.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #982F97 |
|---|---|
| RGB | rgb(152, 47, 151) |
| HSL | hsl(301, 53%, 39%) |
| HSV | hsv(301, 69%, 60%) |
| CMYK | cmyk(0%, 69.1%, 0.7%, 40.4%) |
| CIE-LAB | lab(39.49, 55.99, -34.99) |
| CIE-LCH | lch(39.49, 66.02, 328.00°) |
| OKLab | oklab(50.24% 0.1566 -0.0967) |
| OKLCH | oklch(50.24% 0.184 328.3) |
| XYZ | xyz(19.5511, 10.9442, 30.3548) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.47
Barney Purple
#A00498
ΔE00 3.48
Medium Purple
#9E43A2
ΔE00 4.43
Ugly Purple
#A442A0
ΔE00 4.87
Purply
#983FB2
ΔE00 5.59
Barney
#AC1DB8
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982F97 #2F9830
analogous
#652F98 #982F97 #982F63
triadic
#982F97 #97982F #2F9798
tetradic
#982F97 #98652F #2F9830 #2F6398
square
#982F97 #98652F #2F9830 #2F6398
split-complementary
#982F97 #63982F #2F9865
monochromatic
#3B123A #692169 #982F97 #C440C3 #D26FD2
Accessibility & contrast
On white
6.59
#982F97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#982F97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982F97
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982F97 | 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)
#20549A
Deuteranopia (green-blind)
#4A6294
Tritanopia (blue-blind)
#9D3E5F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #982f97; /* rgb */ color: rgb(152, 47, 151); /* oklch */ color: oklch(50.2% 0.184 328.3);
Tailwind
colors: {
custom: {
50: '#ba71b6',
500: '#982f97',
950: '#000000',
},
}SCSS
$custom: #982f97; $custom-light: #ba71b6; $custom-dark: #000000;
JSON
{
"hex": "#982f97",
"rgb": {
"r": 152,
"g": 47,
"b": 151
},
"hsl": {
"h": 300.571,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.50239,
"c": 0.18404,
"h": 328.3
},
"luminance": 0.10943
}Semantic roles & 50–950 ramp
primary
#982F97
secondary
#69BA6A
accent
#DC4D4C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80