#983AAF#983AAF
#983AAF is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.8% C 0.191 H 319.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #983AAF |
|---|---|
| RGB | rgb(152, 58, 175) |
| HSL | hsl(288, 50%, 46%) |
| HSV | hsv(288, 67%, 69%) |
| CMYK | cmyk(13.1%, 66.9%, 0%, 31.4%) |
| CIE-LAB | lab(42.46, 55.95, -44.63) |
| CIE-LCH | lch(42.46, 71.57, 321.42°) |
| OKLab | oklab(52.82% 0.1444 -0.1249) |
| OKLCH | oklch(52.82% 0.191 319.1) |
| XYZ | xyz(22.1988, 12.7977, 41.8500) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.08
Medium Purple
#9E43A2
ΔE00 3.94
Barney
#AC1DB8
ΔE00 3.98
Darkorchid
#9932CC
ΔE00 4.71
Ugly Purple
#A442A0
ΔE00 5.12
Warm Purple
#952E8F
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983AAF #51AF3A
analogous
#5D3AAF #983AAF #AF3A8B
triadic
#983AAF #AF983A #3AAF98
tetradic
#983AAF #AF5D3A #51AF3A #3A8BAF
square
#983AAF #AF5D3A #51AF3A #3A8BAF
split-complementary
#983AAF #8BAF3A #3AAF5D
monochromatic
#481C53 #702B81 #983AAF #B45DC9 #C98BD9
Accessibility & contrast
On white
5.90
#983AAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#983AAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983AAF
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983AAF | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E5EB2
Deuteranopia (green-blind)
#4267AC
Tritanopia (blue-blind)
#984F70
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #983aaf; /* rgb */ color: rgb(152, 58, 175); /* oklch */ color: oklch(52.8% 0.191 319.1);
Tailwind
colors: {
custom: {
50: '#ba77c7',
500: '#983aaf',
950: '#000000',
},
}SCSS
$custom: #983aaf; $custom-light: #ba77c7; $custom-dark: #000000;
JSON
{
"hex": "#983aaf",
"rgb": {
"r": 152,
"g": 58,
"b": 175
},
"hsl": {
"h": 288.205,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.52821,
"c": 0.19088,
"h": 319.1
},
"luminance": 0.12797
}Semantic roles & 50–950 ramp
primary
#983AAF
secondary
#8FC382
accent
#DA4E6A
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82