#982799#982799
#982799 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.195 H 327.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #982799 |
|---|---|
| RGB | rgb(152, 39, 153) |
| HSL | hsl(299, 59%, 38%) |
| HSV | hsv(299, 75%, 60%) |
| CMYK | cmyk(0.7%, 74.5%, 0%, 40%) |
| CIE-LAB | lab(38.60, 59.17, -37.61) |
| CIE-LCH | lch(38.60, 70.11, 327.56°) |
| OKLab | oklab(49.64% 0.1646 -0.1043) |
| OKLCH | oklch(49.64% 0.195 327.6) |
| XYZ | xyz(19.4239, 10.4277, 31.1205) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.11
Barney Purple
#A00498
ΔE00 2.49
Darkmagenta
#8B008B
ΔE00 5.05
Barney
#AC1DB8
ΔE00 5.41
Medium Purple
#9E43A2
ΔE00 5.44
Purply
#983FB2
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982799 #289927
analogous
#5F2799 #982799 #992761
triadic
#982799 #999827 #279998
tetradic
#982799 #995F27 #289927 #276199
square
#982799 #995F27 #289927 #276199
split-complementary
#982799 #619927 #27995F
monochromatic
#370E37 #681B68 #982799 #C833CA #D663D7
Accessibility & contrast
On white
6.81
#982799 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#982799 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982799
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982799 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D529C
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#9D395E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #982799; /* rgb */ color: rgb(152, 39, 153); /* oklch */ color: oklch(49.6% 0.195 327.6);
Tailwind
colors: {
custom: {
50: '#ba6eb7',
500: '#982799',
950: '#000000',
},
}SCSS
$custom: #982799; $custom-light: #ba6eb7; $custom-dark: #000000;
JSON
{
"hex": "#982799",
"rgb": {
"r": 152,
"g": 39,
"b": 153
},
"hsl": {
"h": 299.474,
"s": 59.375,
"l": 37.647
},
"oklch": {
"l": 0.49639,
"c": 0.19487,
"h": 327.6
},
"luminance": 0.10426
}Semantic roles & 50–950 ramp
primary
#982799
secondary
#60BD5F
accent
#E34547
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80