#9A3BB5#9A3BB5
#9A3BB5 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.6% C 0.196 H 317.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3BB5 |
|---|---|
| RGB | rgb(154, 59, 181) |
| HSL | hsl(287, 51%, 47%) |
| HSV | hsv(287, 67%, 71%) |
| CMYK | cmyk(14.9%, 67.4%, 0%, 29%) |
| CIE-LAB | lab(43.26, 57.16, -46.86) |
| CIE-LCH | lch(43.26, 73.92, 320.66°) |
| OKLab | oklab(53.58% 0.1455 -0.1314) |
| OKLCH | oklch(53.58% 0.196 317.9) |
| XYZ | xyz(23.2297, 13.3351, 45.0574) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 0.83
Barney
#AC1DB8
ΔE00 3.88
Darkorchid
#9932CC
ΔE00 3.92
Medium Purple
#9E43A2
ΔE00 4.43
Ugly Purple
#A442A0
ΔE00 5.54
Vibrant Purple
#AD03DE
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3BB5 #56B53B
analogous
#5D3BB5 #9A3BB5 #B53B93
triadic
#9A3BB5 #B59A3B #3BB59A
tetradic
#9A3BB5 #B55D3B #56B53B #3B93B5
square
#9A3BB5 #B55D3B #56B53B #3B93B5
split-complementary
#9A3BB5 #93B53B #3BB55D
monochromatic
#4B1D59 #732C87 #9A3BB5 #B462CC #CA90DB
Accessibility & contrast
On white
5.73
#9A3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#9A3BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A3BB5
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3BB5 | 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)
#0260B9
Deuteranopia (green-blind)
#4069B2
Tritanopia (blue-blind)
#995273
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9a3bb5; /* rgb */ color: rgb(154, 59, 181); /* oklch */ color: oklch(53.6% 0.196 317.9);
Tailwind
colors: {
custom: {
50: '#bb78cc',
500: '#9a3bb5',
950: '#000000',
},
}SCSS
$custom: #9a3bb5; $custom-light: #bb78cc; $custom-dark: #000000;
JSON
{
"hex": "#9a3bb5",
"rgb": {
"r": 154,
"g": 59,
"b": 181
},
"hsl": {
"h": 286.721,
"s": 50.833,
"l": 47.059
},
"oklch": {
"l": 0.53577,
"c": 0.196,
"h": 317.9
},
"luminance": 0.13334
}Semantic roles & 50–950 ramp
primary
#9A3BB5
secondary
#94C686
accent
#DA4D6D
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82