#983AB2#983AB2
#983AB2 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.194 H 318.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #983AB2 |
|---|---|
| RGB | rgb(152, 58, 178) |
| HSL | hsl(287, 51%, 46%) |
| HSV | hsv(287, 67%, 70%) |
| CMYK | cmyk(14.6%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(42.64, 56.54, -46.11) |
| CIE-LCH | lch(42.64, 72.96, 320.80°) |
| OKLab | oklab(53.01% 0.1443 -0.1292) |
| OKLCH | oklch(53.01% 0.194 318.1) |
| XYZ | xyz(22.4967, 12.9168, 43.4190) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 0.95
Barney
#AC1DB8
ΔE00 3.96
Darkorchid
#9932CC
ΔE00 4.20
Medium Purple
#9E43A2
ΔE00 4.35
Ugly Purple
#A442A0
ΔE00 5.51
Warm Purple
#952E8F
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983AB2 #54B23A
analogous
#5C3AB2 #983AB2 #B23A90
triadic
#983AB2 #B2983A #3AB298
tetradic
#983AB2 #B25C3A #54B23A #3A90B2
square
#983AB2 #B25C3A #54B23A #3A90B2
split-complementary
#983AB2 #90B23A #3AB25C
monochromatic
#491C56 #712B84 #983AB2 #B35FCB #C98DDA
Accessibility & contrast
On white
5.86
#983AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#983AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983AB2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983AB2 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#045FB6
Deuteranopia (green-blind)
#3F68AF
Tritanopia (blue-blind)
#975071
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #983ab2; /* rgb */ color: rgb(152, 58, 178); /* oklch */ color: oklch(53.0% 0.194 318.1);
Tailwind
colors: {
custom: {
50: '#ba77ca',
500: '#983ab2',
950: '#000000',
},
}SCSS
$custom: #983ab2; $custom-light: #ba77ca; $custom-dark: #000000;
JSON
{
"hex": "#983ab2",
"rgb": {
"r": 152,
"g": 58,
"b": 178
},
"hsl": {
"h": 287,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.53009,
"c": 0.19366,
"h": 318.1
},
"luminance": 0.12916
}Semantic roles & 50–950 ramp
primary
#983AB2
secondary
#92C483
accent
#DA4D6C
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82