#982F98#982F98
#982F98 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.185 H 327.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #982F98 |
|---|---|
| RGB | rgb(152, 47, 152) |
| HSL | hsl(300, 53%, 39%) |
| HSV | hsv(300, 69%, 60%) |
| CMYK | cmyk(0%, 69.1%, 0%, 40.4%) |
| CIE-LAB | lab(39.54, 56.16, -35.51) |
| CIE-LCH | lch(39.54, 66.44, 327.70°) |
| OKLab | oklab(50.3% 0.1566 -0.0982) |
| OKLCH | oklch(50.3% 0.185 327.9) |
| XYZ | xyz(19.6326, 10.9768, 30.7844) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.65
Barney Purple
#A00498
ΔE00 3.48
Medium Purple
#9E43A2
ΔE00 4.38
Ugly Purple
#A442A0
ΔE00 4.87
Purply
#983FB2
ΔE00 5.43
Barney
#AC1DB8
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982F98 #2F982F
analogous
#642F98 #982F98 #982F64
triadic
#982F98 #98982F #2F9898
tetradic
#982F98 #98642F #2F982F #2F6498
square
#982F98 #98642F #2F982F #2F6498
split-complementary
#982F98 #64982F #2F9864
monochromatic
#3B123B #692169 #982F98 #C440C4 #D26FD2
Accessibility & contrast
On white
6.57
#982F98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#982F98 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982F98
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982F98 | 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)
#1F549B
Deuteranopia (green-blind)
#4A6295
Tritanopia (blue-blind)
#9D3E60
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #982f98; /* rgb */ color: rgb(152, 47, 152); /* oklch */ color: oklch(50.3% 0.185 327.9);
Tailwind
colors: {
custom: {
50: '#ba71b7',
500: '#982f98',
950: '#000000',
},
}SCSS
$custom: #982f98; $custom-light: #ba71b7; $custom-dark: #000000;
JSON
{
"hex": "#982f98",
"rgb": {
"r": 152,
"g": 47,
"b": 152
},
"hsl": {
"h": 300,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.50296,
"c": 0.18486,
"h": 327.9
},
"luminance": 0.10975
}Semantic roles & 50–950 ramp
primary
#982F98
secondary
#69BA69
accent
#DC4C4C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80