#983CA2#983CA2
#983CA2 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.3% C 0.176 H 323.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #983CA2 |
|---|---|
| RGB | rgb(152, 60, 162) |
| HSL | hsl(294, 46%, 44%) |
| HSV | hsv(294, 63%, 64%) |
| CMYK | cmyk(6.2%, 63%, 0%, 36.5%) |
| CIE-LAB | lab(42.03, 52.57, -37.58) |
| CIE-LCH | lch(42.03, 64.62, 324.44°) |
| OKLab | oklab(52.27% 0.1419 -0.1044) |
| OKLCH | oklch(52.27% 0.176 323.7) |
| XYZ | xyz(21.0857, 12.5169, 35.4808) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.24
Purply
#983FB2
ΔE00 2.99
Ugly Purple
#A442A0
ΔE00 3.40
Warm Purple
#952E8F
ΔE00 4.19
Barney
#AC1DB8
ΔE00 5.01
Barney Purple
#A00498
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983CA2 #46A23C
analogous
#653CA2 #983CA2 #A23C79
triadic
#983CA2 #A2983C #3CA298
tetradic
#983CA2 #A2653C #46A23C #3C79A2
square
#983CA2 #A2653C #46A23C #3C79A2
split-complementary
#983CA2 #79A23C #3CA265
monochromatic
#441B49 #6E2B75 #983CA2 #B759C2 #CB86D2
Accessibility & contrast
On white
5.99
#983CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#983CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983CA2
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983CA2 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#9B4B69
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #983ca2; /* rgb */ color: rgb(152, 60, 162); /* oklch */ color: oklch(52.3% 0.176 323.7);
Tailwind
colors: {
custom: {
50: '#b978be',
500: '#983ca2',
950: '#000000',
},
}SCSS
$custom: #983ca2; $custom-light: #b978be; $custom-dark: #000000;
JSON
{
"hex": "#983ca2",
"rgb": {
"r": 152,
"g": 60,
"b": 162
},
"hsl": {
"h": 294.118,
"s": 45.946,
"l": 43.529
},
"oklch": {
"l": 0.52269,
"c": 0.17614,
"h": 323.7
},
"luminance": 0.12516
}Semantic roles & 50–950 ramp
primary
#983CA2
secondary
#84BC7D
accent
#D6525F
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81