#983CA8#983CA8
#983CA8 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.6% C 0.182 H 321.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #983CA8 |
|---|---|
| RGB | rgb(152, 60, 168) |
| HSL | hsl(291, 47%, 45%) |
| HSV | hsv(291, 64%, 66%) |
| CMYK | cmyk(9.5%, 64.3%, 0%, 34.1%) |
| CIE-LAB | lab(42.36, 53.71, -40.63) |
| CIE-LCH | lch(42.36, 67.35, 322.90°) |
| OKLab | oklab(52.62% 0.1421 -0.1132) |
| OKLCH | oklch(52.62% 0.182 321.4) |
| XYZ | xyz(21.6319, 12.7354, 38.3569) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.89
Medium Purple
#9E43A2
ΔE00 2.80
Ugly Purple
#A442A0
ΔE00 4.03
Barney
#AC1DB8
ΔE00 4.48
Warm Purple
#952E8F
ΔE00 5.11
Darkorchid
#9932CC
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983CA8 #4CA83C
analogous
#623CA8 #983CA8 #A83C82
triadic
#983CA8 #A8983C #3CA898
tetradic
#983CA8 #A8623C #4CA83C #3C82A8
square
#983CA8 #A8623C #4CA83C #3C82A8
split-complementary
#983CA8 #82A83C #3CA862
monochromatic
#461C4E #6F2C7B #983CA8 #B55CC5 #CA89D5
Accessibility & contrast
On white
5.92
#983CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#983CA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983CA8
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983CA8 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215DAB
Deuteranopia (green-blind)
#4867A5
Tritanopia (blue-blind)
#994E6D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #983ca8; /* rgb */ color: rgb(152, 60, 168); /* oklch */ color: oklch(52.6% 0.182 321.4);
Tailwind
colors: {
custom: {
50: '#b978c2',
500: '#983ca8',
950: '#000000',
},
}SCSS
$custom: #983ca8; $custom-light: #b978c2; $custom-dark: #000000;
JSON
{
"hex": "#983ca8",
"rgb": {
"r": 152,
"g": 60,
"b": 168
},
"hsl": {
"h": 291.111,
"s": 47.368,
"l": 44.706
},
"oklch": {
"l": 0.52621,
"c": 0.18166,
"h": 321.4
},
"luminance": 0.12734
}Semantic roles & 50–950 ramp
primary
#983CA8
secondary
#8ABF80
accent
#D75165
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120912
muted
#817B81