#982F96#982F96
#982F96 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.183 H 328.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #982F96 |
|---|---|
| RGB | rgb(152, 47, 150) |
| HSL | hsl(301, 53%, 39%) |
| HSV | hsv(301, 69%, 60%) |
| CMYK | cmyk(0%, 69.1%, 1.3%, 40.4%) |
| CIE-LAB | lab(39.43, 55.82, -34.47) |
| CIE-LCH | lch(39.43, 65.60, 328.30°) |
| OKLab | oklab(50.18% 0.1565 -0.0952) |
| OKLCH | oklch(50.18% 0.183 328.7) |
| XYZ | xyz(19.4702, 10.9118, 29.9289) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.30
Barney Purple
#A00498
ΔE00 3.49
Medium Purple
#9E43A2
ΔE00 4.48
Ugly Purple
#A442A0
ΔE00 4.89
Purply
#983FB2
ΔE00 5.76
Barney
#AC1DB8
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982F96 #2F9831
analogous
#662F98 #982F96 #982F62
triadic
#982F96 #96982F #2F9698
tetradic
#982F96 #98662F #2F9831 #2F6298
square
#982F96 #98662F #2F9831 #2F6298
split-complementary
#982F96 #62982F #2F9866
monochromatic
#3B123A #692168 #982F96 #C440C1 #D26FD1
Accessibility & contrast
On white
6.60
#982F96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#982F96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982F96
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982F96 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#4B6293
Tritanopia (blue-blind)
#9D3D5F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #982f96; /* rgb */ color: rgb(152, 47, 150); /* oklch */ color: oklch(50.2% 0.183 328.7);
Tailwind
colors: {
custom: {
50: '#ba71b5',
500: '#982f96',
950: '#000000',
},
}SCSS
$custom: #982f96; $custom-light: #ba71b5; $custom-dark: #000000;
JSON
{
"hex": "#982f96",
"rgb": {
"r": 152,
"g": 47,
"b": 150
},
"hsl": {
"h": 301.143,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.50181,
"c": 0.18322,
"h": 328.7
},
"luminance": 0.1091
}Semantic roles & 50–950 ramp
primary
#982F96
secondary
#69BA6A
accent
#DC4E4C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80