#983399#983399
#983399 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.181 H 327.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #983399 |
|---|---|
| RGB | rgb(152, 51, 153) |
| HSL | hsl(299, 50%, 40%) |
| HSV | hsv(299, 67%, 60%) |
| CMYK | cmyk(0.7%, 66.7%, 0%, 40%) |
| CIE-LAB | lab(40.15, 54.77, -35.14) |
| CIE-LCH | lch(40.15, 65.07, 327.31°) |
| OKLab | oklab(50.76% 0.1522 -0.0972) |
| OKLCH | oklch(50.76% 0.181 327.4) |
| XYZ | xyz(19.8822, 11.3443, 31.2733) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.99
Medium Purple
#9E43A2
ΔE00 3.74
Barney Purple
#A00498
ΔE00 4.10
Ugly Purple
#A442A0
ΔE00 4.29
Purply
#983FB2
ΔE00 5.01
Barney
#AC1DB8
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983399 #349933
analogous
#653399 #983399 #993367
triadic
#983399 #999833 #339998
tetradic
#983399 #996533 #349933 #336799
square
#983399 #996533 #349933 #336799
split-complementary
#983399 #679933 #339965
monochromatic
#3D143D #6A246B #983399 #C147C2 #D075D1
Accessibility & contrast
On white
6.42
#983399 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#983399 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983399
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983399 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24569C
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#9C4162
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #983399; /* rgb */ color: rgb(152, 51, 153); /* oklch */ color: oklch(50.8% 0.181 327.4);
Tailwind
colors: {
custom: {
50: '#b973b7',
500: '#983399',
950: '#000000',
},
}SCSS
$custom: #983399; $custom-light: #b973b7; $custom-dark: #000000;
JSON
{
"hex": "#983399",
"rgb": {
"r": 152,
"g": 51,
"b": 153
},
"hsl": {
"h": 299.412,
"s": 50,
"l": 40
},
"oklch": {
"l": 0.50756,
"c": 0.1806,
"h": 327.4
},
"luminance": 0.11343
}Semantic roles & 50–950 ramp
primary
#983399
secondary
#6FB96E
accent
#DA4E50
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80