#982699#982699
#982699 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.196 H 327.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #982699 |
|---|---|
| RGB | rgb(152, 38, 153) |
| HSL | hsl(299, 60%, 37%) |
| HSV | hsv(299, 75%, 60%) |
| CMYK | cmyk(0.7%, 75.2%, 0%, 40%) |
| CIE-LAB | lab(38.49, 59.49, -37.79) |
| CIE-LCH | lch(38.49, 70.48, 327.58°) |
| OKLab | oklab(49.56% 0.1655 -0.1048) |
| OKLCH | oklch(49.56% 0.196 327.7) |
| XYZ | xyz(19.3915, 10.3629, 31.1097) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.17
Barney Purple
#A00498
ΔE00 2.39
Darkmagenta
#8B008B
ΔE00 4.94
Barney
#AC1DB8
ΔE00 5.43
Medium Purple
#9E43A2
ΔE00 5.56
Purply
#983FB2
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982699 #279926
analogous
#5E2699 #982699 #992661
triadic
#982699 #999826 #269998
tetradic
#982699 #995E26 #279926 #266199
square
#982699 #995E26 #279926 #266199
split-complementary
#982699 #619926 #26995E
monochromatic
#370E37 #671A68 #982699 #C932CA #D762D8
Accessibility & contrast
On white
6.84
#982699 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#982699 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982699
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982699 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A519C
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#9D395E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #982699; /* rgb */ color: rgb(152, 38, 153); /* oklch */ color: oklch(49.6% 0.196 327.7);
Tailwind
colors: {
custom: {
50: '#ba6db7',
500: '#982699',
950: '#000000',
},
}SCSS
$custom: #982699; $custom-light: #ba6db7; $custom-dark: #000000;
JSON
{
"hex": "#982699",
"rgb": {
"r": 152,
"g": 38,
"b": 153
},
"hsl": {
"h": 299.478,
"s": 60.209,
"l": 37.451
},
"oklch": {
"l": 0.49558,
"c": 0.19591,
"h": 327.7
},
"luminance": 0.10362
}Semantic roles & 50–950 ramp
primary
#982699
secondary
#5EBD5E
accent
#E34446
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80