#983AAA#983AAA
#983AAA is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.5% C 0.186 H 320.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #983AAA |
|---|---|
| RGB | rgb(152, 58, 170) |
| HSL | hsl(290, 49%, 45%) |
| HSV | hsv(290, 66%, 67%) |
| CMYK | cmyk(10.6%, 65.9%, 0%, 33.3%) |
| CIE-LAB | lab(42.16, 54.97, -42.13) |
| CIE-LCH | lch(42.16, 69.26, 322.53°) |
| OKLab | oklab(52.51% 0.1444 -0.1176) |
| OKLCH | oklch(52.51% 0.186 320.8) |
| XYZ | xyz(21.7168, 12.6049, 39.3115) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.70
Medium Purple
#9E43A2
ΔE00 3.30
Barney
#AC1DB8
ΔE00 4.16
Ugly Purple
#A442A0
ΔE00 4.49
Warm Purple
#952E8F
ΔE00 5.28
Darkorchid
#9932CC
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983AAA #4CAA3A
analogous
#603AAA #983AAA #AA3A84
triadic
#983AAA #AA983A #3AAA98
tetradic
#983AAA #AA603A #4CAA3A #3A84AA
square
#983AAA #AA603A #4CAA3A #3A84AA
split-complementary
#983AAA #84AA3A #3AAA60
monochromatic
#461B4F #6F2A7C #983AAA #B55AC7 #CA88D6
Accessibility & contrast
On white
5.96
#983AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#983AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983AAA
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983AAA | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195DAD
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#994D6D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #983aaa; /* rgb */ color: rgb(152, 58, 170); /* oklch */ color: oklch(52.5% 0.186 320.8);
Tailwind
colors: {
custom: {
50: '#b977c4',
500: '#983aaa',
950: '#000000',
},
}SCSS
$custom: #983aaa; $custom-light: #b977c4; $custom-dark: #000000;
JSON
{
"hex": "#983aaa",
"rgb": {
"r": 152,
"g": 58,
"b": 170
},
"hsl": {
"h": 290.357,
"s": 49.123,
"l": 44.706
},
"oklch": {
"l": 0.52513,
"c": 0.18626,
"h": 320.8
},
"luminance": 0.12604
}Semantic roles & 50–950 ramp
primary
#983AAA
secondary
#8AC17F
accent
#D94F65
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82