#983CA4#983CA4
#983CA4 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.4% C 0.178 H 322.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #983CA4 |
|---|---|
| RGB | rgb(152, 60, 164) |
| HSL | hsl(293, 46%, 44%) |
| HSV | hsv(293, 63%, 64%) |
| CMYK | cmyk(7.3%, 63.4%, 0%, 35.7%) |
| CIE-LAB | lab(42.14, 52.95, -38.60) |
| CIE-LCH | lch(42.14, 65.53, 323.91°) |
| OKLab | oklab(52.39% 0.142 -0.1073) |
| OKLCH | oklch(52.39% 0.178 322.9) |
| XYZ | xyz(21.2649, 12.5886, 36.4245) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.39
Purply
#983FB2
ΔE00 2.61
Ugly Purple
#A442A0
ΔE00 3.59
Warm Purple
#952E8F
ΔE00 4.48
Barney
#AC1DB8
ΔE00 4.81
Barney Purple
#A00498
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983CA4 #48A43C
analogous
#643CA4 #983CA4 #A43C7C
triadic
#983CA4 #A4983C #3CA498
tetradic
#983CA4 #A4643C #48A43C #3C7CA4
square
#983CA4 #A4643C #48A43C #3C7CA4
split-complementary
#983CA4 #7CA43C #3CA464
monochromatic
#451B4A #6E2C77 #983CA4 #B75AC3 #CA87D3
Accessibility & contrast
On white
5.97
#983CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#983CA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983CA4
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983CA4 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265DA7
Deuteranopia (green-blind)
#4B67A1
Tritanopia (blue-blind)
#9A4C6A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #983ca4; /* rgb */ color: rgb(152, 60, 164); /* oklch */ color: oklch(52.4% 0.178 322.9);
Tailwind
colors: {
custom: {
50: '#b978bf',
500: '#983ca4',
950: '#000000',
},
}SCSS
$custom: #983ca4; $custom-light: #b978bf; $custom-dark: #000000;
JSON
{
"hex": "#983ca4",
"rgb": {
"r": 152,
"g": 60,
"b": 164
},
"hsl": {
"h": 293.077,
"s": 46.429,
"l": 43.922
},
"oklch": {
"l": 0.52385,
"c": 0.17798,
"h": 322.9
},
"luminance": 0.12587
}Semantic roles & 50–950 ramp
primary
#983CA4
secondary
#86BD7E
accent
#D65261
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81