#9A3BB9#9A3BB9
#9A3BB9 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.200 H 316.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3BB9 |
|---|---|
| RGB | rgb(154, 59, 185) |
| HSL | hsl(285, 52%, 48%) |
| HSV | hsv(285, 68%, 73%) |
| CMYK | cmyk(16.8%, 68.1%, 0%, 27.5%) |
| CIE-LAB | lab(43.51, 57.96, -48.81) |
| CIE-LCH | lch(43.51, 75.78, 319.90°) |
| OKLab | oklab(53.83% 0.1453 -0.1371) |
| OKLCH | oklch(53.83% 0.2 316.7) |
| XYZ | xyz(23.6460, 13.5017, 47.2500) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.30
Darkorchid
#9932CC
ΔE00 3.29
Barney
#AC1DB8
ΔE00 4.02
Medium Purple
#9E43A2
ΔE00 5.03
Vibrant Purple
#AD03DE
ΔE00 6.04
Ugly Purple
#A442A0
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3BB9 #5AB93B
analogous
#5B3BB9 #9A3BB9 #B93B99
triadic
#9A3BB9 #B99A3B #3BB99A
tetradic
#9A3BB9 #B95B3B #5AB93B #3B99B9
square
#9A3BB9 #B95B3B #5AB93B #3B99B9
split-complementary
#9A3BB9 #99B93B #3BB95B
monochromatic
#4D1D5C #732C8B #9A3BB9 #B364CD #CA92DC
Accessibility & contrast
On white
5.68
#9A3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#9A3BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A3BB9
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3BB9 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#3C6AB6
Tritanopia (blue-blind)
#985375
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9a3bb9; /* rgb */ color: rgb(154, 59, 185); /* oklch */ color: oklch(53.8% 0.200 316.7);
Tailwind
colors: {
custom: {
50: '#bb78cf',
500: '#9a3bb9',
950: '#000000',
},
}SCSS
$custom: #9a3bb9; $custom-light: #bb78cf; $custom-dark: #000000;
JSON
{
"hex": "#9a3bb9",
"rgb": {
"r": 154,
"g": 59,
"b": 185
},
"hsl": {
"h": 285.238,
"s": 51.639,
"l": 47.843
},
"oklch": {
"l": 0.53832,
"c": 0.19973,
"h": 316.7
},
"luminance": 0.13501
}Semantic roles & 50–950 ramp
primary
#9A3BB9
secondary
#98C788
accent
#DB4D70
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82