#9939AB#9939AB
#9939AB is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.189 H 321.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9939AB |
|---|---|
| RGB | rgb(153, 57, 171) |
| HSL | hsl(291, 50%, 45%) |
| HSV | hsv(291, 67%, 67%) |
| CMYK | cmyk(10.5%, 66.7%, 0%, 32.9%) |
| CIE-LAB | lab(42.22, 55.83, -42.63) |
| CIE-LCH | lch(42.22, 70.25, 322.63°) |
| OKLab | oklab(52.6% 0.1468 -0.119) |
| OKLCH | oklch(52.6% 0.189 321) |
| XYZ | xyz(21.9498, 12.6399, 39.8038) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.68
Medium Purple
#9E43A2
ΔE00 3.40
Barney
#AC1DB8
ΔE00 3.91
Ugly Purple
#A442A0
ΔE00 4.54
Warm Purple
#952E8F
ΔE00 5.35
Darkorchid
#9932CC
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9939AB #4BAB39
analogous
#6039AB #9939AB #AB3984
triadic
#9939AB #AB9939 #39AB99
tetradic
#9939AB #AB6039 #4BAB39 #3984AB
square
#9939AB #AB6039 #4BAB39 #3984AB
split-complementary
#9939AB #84AB39 #39AB60
monochromatic
#471A4F #702A7D #9939AB #B659C8 #CA87D7
Accessibility & contrast
On white
5.95
#9939AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#9939AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9939AB
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9939AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9939AB | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165DAE
Deuteranopia (green-blind)
#4567A8
Tritanopia (blue-blind)
#9A4C6D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9939ab; /* rgb */ color: rgb(153, 57, 171); /* oklch */ color: oklch(52.6% 0.189 321.0);
Tailwind
colors: {
custom: {
50: '#ba77c4',
500: '#9939ab',
950: '#000000',
},
}SCSS
$custom: #9939ab; $custom-light: #ba77c4; $custom-dark: #000000;
JSON
{
"hex": "#9939ab",
"rgb": {
"r": 153,
"g": 57,
"b": 171
},
"hsl": {
"h": 290.526,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.52601,
"c": 0.18897,
"h": 321
},
"luminance": 0.12639
}Semantic roles & 50–950 ramp
primary
#9939AB
secondary
#89C17F
accent
#DA4E64
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82