#9A36C2#9A36C2
#9A36C2 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.214 H 314.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9A36C2 |
|---|---|
| RGB | rgb(154, 54, 194) |
| HSL | hsl(283, 56%, 49%) |
| HSV | hsv(283, 72%, 76%) |
| CMYK | cmyk(20.6%, 72.2%, 0%, 23.9%) |
| CIE-LAB | lab(43.37, 61.81, -54.31) |
| CIE-LCH | lch(43.37, 82.28, 318.70°) |
| OKLab | oklab(53.91% 0.1497 -0.1531) |
| OKLCH | oklch(53.91% 0.214 314.3) |
| XYZ | xyz(24.3816, 13.4042, 52.3314) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.65
Purply
#983FB2
ΔE00 2.93
Barney
#AC1DB8
ΔE00 4.28
Vibrant Purple
#AD03DE
ΔE00 4.71
Darkviolet
#9400D3
ΔE00 5.49
Blueviolet
#8A2BE2
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A36C2 #5EC236
analogous
#5436C2 #9A36C2 #C236A4
triadic
#9A36C2 #C29A36 #36C29A
tetradic
#9A36C2 #C25436 #5EC236 #36A4C2
square
#9A36C2 #C25436 #5EC236 #36A4C2
split-complementary
#9A36C2 #A4C236 #36C254
monochromatic
#4E1B62 #742992 #9A36C2 #B362D3 #CA92E1
Accessibility & contrast
On white
5.71
#9A36C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#9A36C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A36C2
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A36C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A36C2 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2E69BF
Tritanopia (blue-blind)
#965479
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9a36c2; /* rgb */ color: rgb(154, 54, 194); /* oklch */ color: oklch(53.9% 0.214 314.3);
Tailwind
colors: {
custom: {
50: '#bc76d5',
500: '#9a36c2',
950: '#000000',
},
}SCSS
$custom: #9a36c2; $custom-light: #bc76d5; $custom-dark: #000000;
JSON
{
"hex": "#9a36c2",
"rgb": {
"r": 154,
"g": 54,
"b": 194
},
"hsl": {
"h": 282.857,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.53914,
"c": 0.21413,
"h": 314.3
},
"luminance": 0.13403
}Semantic roles & 50–950 ramp
primary
#9A36C2
secondary
#9BCC88
accent
#E04873
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120914
muted
#817B83