#982E99#982E99
#982E99 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.187 H 327.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #982E99 |
|---|---|
| RGB | rgb(152, 46, 153) |
| HSL | hsl(299, 54%, 39%) |
| HSV | hsv(299, 70%, 60%) |
| CMYK | cmyk(0.7%, 69.9%, 0%, 40%) |
| CIE-LAB | lab(39.46, 56.71, -36.23) |
| CIE-LCH | lch(39.46, 67.30, 327.42°) |
| OKLab | oklab(50.26% 0.1577 -0.1003) |
| OKLCH | oklch(50.26% 0.187 327.5) |
| XYZ | xyz(19.6754, 10.9307, 31.2043) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.83
Barney Purple
#A00498
ΔE00 3.35
Medium Purple
#9E43A2
ΔE00 4.49
Ugly Purple
#A442A0
ΔE00 5.01
Purply
#983FB2
ΔE00 5.34
Barney
#AC1DB8
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982E99 #2F992E
analogous
#632E99 #982E99 #992E65
triadic
#982E99 #99982E #2E9998
tetradic
#982E99 #99632E #2F992E #2E6599
square
#982E99 #99632E #2F992E #2E6599
split-complementary
#982E99 #65992E #2E9963
monochromatic
#3B123B #69206A #982E99 #C43FC5 #D26ED3
Accessibility & contrast
On white
6.59
#982E99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#982E99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982E99
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982E99 | 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)
#1C549C
Deuteranopia (green-blind)
#496296
Tritanopia (blue-blind)
#9D3E60
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #982e99; /* rgb */ color: rgb(152, 46, 153); /* oklch */ color: oklch(50.3% 0.187 327.5);
Tailwind
colors: {
custom: {
50: '#ba71b7',
500: '#982e99',
950: '#000000',
},
}SCSS
$custom: #982e99; $custom-light: #ba71b7; $custom-dark: #000000;
JSON
{
"hex": "#982e99",
"rgb": {
"r": 152,
"g": 46,
"b": 153
},
"hsl": {
"h": 299.439,
"s": 53.769,
"l": 39.02
},
"oklch": {
"l": 0.50258,
"c": 0.1869,
"h": 327.5
},
"luminance": 0.10929
}Semantic roles & 50–950 ramp
primary
#982E99
secondary
#69BB68
accent
#DD4B4C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80