#983AB4#983AB4
#983AB4 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.1% C 0.196 H 317.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #983AB4 |
|---|---|
| RGB | rgb(152, 58, 180) |
| HSL | hsl(286, 51%, 47%) |
| HSV | hsv(286, 68%, 71%) |
| CMYK | cmyk(15.6%, 67.8%, 0%, 29.4%) |
| CIE-LAB | lab(42.76, 56.94, -47.09) |
| CIE-LCH | lch(42.76, 73.89, 320.41°) |
| OKLab | oklab(53.14% 0.1442 -0.1321) |
| OKLCH | oklch(53.14% 0.196 317.5) |
| XYZ | xyz(22.6990, 12.9977, 44.4843) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.02
Darkorchid
#9932CC
ΔE00 3.87
Barney
#AC1DB8
ΔE00 3.99
Medium Purple
#9E43A2
ΔE00 4.63
Ugly Purple
#A442A0
ΔE00 5.78
Vibrant Purple
#AD03DE
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983AB4 #56B43A
analogous
#5B3AB4 #983AB4 #B43A93
triadic
#983AB4 #B4983A #3AB498
tetradic
#983AB4 #B45B3A #56B43A #3A93B4
square
#983AB4 #B45B3A #56B43A #3A93B4
split-complementary
#983AB4 #93B43A #3AB45B
monochromatic
#4A1C57 #712B86 #983AB4 #B360CC #C98EDB
Accessibility & contrast
On white
5.83
#983AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#983AB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983AB4
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983AB4 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#975172
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #983ab4; /* rgb */ color: rgb(152, 58, 180); /* oklch */ color: oklch(53.1% 0.196 317.5);
Tailwind
colors: {
custom: {
50: '#ba78cb',
500: '#983ab4',
950: '#000000',
},
}SCSS
$custom: #983ab4; $custom-light: #ba78cb; $custom-dark: #000000;
JSON
{
"hex": "#983ab4",
"rgb": {
"r": 152,
"g": 58,
"b": 180
},
"hsl": {
"h": 286.23,
"s": 51.261,
"l": 46.667
},
"oklch": {
"l": 0.53136,
"c": 0.19553,
"h": 317.5
},
"luminance": 0.12997
}Semantic roles & 50–950 ramp
primary
#983AB4
secondary
#93C585
accent
#DB4D6E
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82