#9936AB#9936AB
#9936AB is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.3% C 0.193 H 321.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9936AB |
|---|---|
| RGB | rgb(153, 54, 171) |
| HSL | hsl(291, 52%, 44%) |
| HSV | hsv(291, 68%, 67%) |
| CMYK | cmyk(10.5%, 68.4%, 0%, 32.9%) |
| CIE-LAB | lab(41.77, 57.08, -43.34) |
| CIE-LCH | lch(41.77, 71.67, 322.79°) |
| OKLab | oklab(52.28% 0.1501 -0.1211) |
| OKLCH | oklch(52.28% 0.193 321.1) |
| XYZ | xyz(21.8059, 12.3520, 39.7558) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.05
Barney
#AC1DB8
ΔE00 3.68
Medium Purple
#9E43A2
ΔE00 3.80
Ugly Purple
#A442A0
ΔE00 4.88
Warm Purple
#952E8F
ΔE00 5.20
Darkorchid
#9932CC
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9936AB #48AB36
analogous
#5F36AB #9936AB #AB3683
triadic
#9936AB #AB9936 #36AB99
tetradic
#9936AB #AB5F36 #48AB36 #3683AB
square
#9936AB #AB5F36 #48AB36 #3683AB
split-complementary
#9936AB #83AB36 #36AB5F
monochromatic
#46194E #6F277C #9936AB #B755C9 #CB83D8
Accessibility & contrast
On white
6.05
#9936AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#9936AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9936AB
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9936AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9936AB | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D5CAE
Deuteranopia (green-blind)
#4366A8
Tritanopia (blue-blind)
#9A4B6C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9936ab; /* rgb */ color: rgb(153, 54, 171); /* oklch */ color: oklch(52.3% 0.193 321.1);
Tailwind
colors: {
custom: {
50: '#ba75c4',
500: '#9936ab',
950: '#000000',
},
}SCSS
$custom: #9936ab; $custom-light: #ba75c4; $custom-dark: #000000;
JSON
{
"hex": "#9936ab",
"rgb": {
"r": 153,
"g": 54,
"b": 171
},
"hsl": {
"h": 290.769,
"s": 52,
"l": 44.118
},
"oklch": {
"l": 0.52281,
"c": 0.19286,
"h": 321.1
},
"luminance": 0.12351
}Semantic roles & 50–950 ramp
primary
#9936AB
secondary
#86C27B
accent
#DB4C62
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82