#9A3EAD#9A3EAD
#9A3EAD is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.4% C 0.184 H 320.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3EAD |
|---|---|
| RGB | rgb(154, 62, 173) |
| HSL | hsl(290, 47%, 46%) |
| HSV | hsv(290, 64%, 68%) |
| CMYK | cmyk(11%, 64.2%, 0%, 32.2%) |
| CIE-LAB | lab(43.26, 54.28, -42.14) |
| CIE-LCH | lch(43.26, 68.72, 322.18°) |
| OKLab | oklab(53.42% 0.1421 -0.1176) |
| OKLCH | oklch(53.42% 0.184 320.4) |
| XYZ | xyz(22.5910, 13.3335, 40.9107) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.10
Medium Purple
#9E43A2
ΔE00 2.94
Ugly Purple
#A442A0
ΔE00 4.15
Barney
#AC1DB8
ΔE00 4.31
Darkorchid
#9932CC
ΔE00 5.45
Warm Purple
#952E8F
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3EAD #51AD3E
analogous
#623EAD #9A3EAD #AD3E88
triadic
#9A3EAD #AD9A3E #3EAD9A
tetradic
#9A3EAD #AD623E #51AD3E #3E88AD
square
#9A3EAD #AD623E #51AD3E #3E88AD
split-complementary
#9A3EAD #88AD3E #3EAD62
monochromatic
#4A1E53 #722E80 #9A3EAD #B562C7 #CA8FD7
Accessibility & contrast
On white
5.73
#9A3EAD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#9A3EAD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A3EAD
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3EAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3EAD | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2060B0
Deuteranopia (green-blind)
#486AAA
Tritanopia (blue-blind)
#9B5070
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9a3ead; /* rgb */ color: rgb(154, 62, 173); /* oklch */ color: oklch(53.4% 0.184 320.4);
Tailwind
colors: {
custom: {
50: '#bb7ac6',
500: '#9a3ead',
950: '#000000',
},
}SCSS
$custom: #9a3ead; $custom-light: #bb7ac6; $custom-dark: #000000;
JSON
{
"hex": "#9a3ead",
"rgb": {
"r": 154,
"g": 62,
"b": 173
},
"hsl": {
"h": 289.73,
"s": 47.234,
"l": 46.078
},
"oklch": {
"l": 0.53423,
"c": 0.18449,
"h": 320.4
},
"luminance": 0.13332
}Semantic roles & 50–950 ramp
primary
#9A3EAD
secondary
#8FC285
accent
#D75168
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82