#9836AE#9836AE
#9836AE is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.3% C 0.195 H 319.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9836AE |
|---|---|
| RGB | rgb(152, 54, 174) |
| HSL | hsl(289, 53%, 45%) |
| HSV | hsv(289, 69%, 68%) |
| CMYK | cmyk(12.6%, 69%, 0%, 31.8%) |
| CIE-LAB | lab(41.80, 57.43, -45.09) |
| CIE-LCH | lch(41.80, 73.01, 321.86°) |
| OKLab | oklab(52.33% 0.1488 -0.1262) |
| OKLCH | oklch(52.33% 0.195 319.7) |
| XYZ | xyz(21.9071, 12.3708, 41.2701) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.80
Barney
#AC1DB8
ΔE00 3.68
Medium Purple
#9E43A2
ΔE00 4.28
Darkorchid
#9932CC
ΔE00 4.77
Ugly Purple
#A442A0
ΔE00 5.39
Warm Purple
#952E8F
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9836AE #4CAE36
analogous
#5C36AE #9836AE #AE3688
triadic
#9836AE #AE9836 #36AE98
tetradic
#9836AE #AE5C36 #4CAE36 #3688AE
square
#9836AE #AE5C36 #4CAE36 #3688AE
split-complementary
#9836AE #88AE36 #36AE5C
monochromatic
#461951 #6F287F #9836AE #B556CB #CA85D9
Accessibility & contrast
On white
6.04
#9836AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#9836AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9836AE
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9836AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9836AE | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#4066AB
Tritanopia (blue-blind)
#984C6E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9836ae; /* rgb */ color: rgb(152, 54, 174); /* oklch */ color: oklch(52.3% 0.195 319.7);
Tailwind
colors: {
custom: {
50: '#ba75c7',
500: '#9836ae',
950: '#000000',
},
}SCSS
$custom: #9836ae; $custom-light: #ba75c7; $custom-dark: #000000;
JSON
{
"hex": "#9836ae",
"rgb": {
"r": 152,
"g": 54,
"b": 174
},
"hsl": {
"h": 289,
"s": 52.632,
"l": 44.706
},
"oklch": {
"l": 0.52329,
"c": 0.19513,
"h": 319.7
},
"luminance": 0.1237
}Semantic roles & 50–950 ramp
primary
#9836AE
secondary
#8AC37D
accent
#DC4C66
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82