#9A3BB2#9A3BB2
#9A3BB2 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.193 H 318.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3BB2 |
|---|---|
| RGB | rgb(154, 59, 178) |
| HSL | hsl(288, 50%, 46%) |
| HSV | hsv(288, 67%, 70%) |
| CMYK | cmyk(13.5%, 66.9%, 0%, 30.2%) |
| CIE-LAB | lab(43.08, 56.57, -45.38) |
| CIE-LCH | lch(43.08, 72.53, 321.26°) |
| OKLab | oklab(53.39% 0.1456 -0.127) |
| OKLCH | oklch(53.39% 0.193 318.9) |
| XYZ | xyz(22.9252, 13.2133, 43.4537) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 0.74
Barney
#AC1DB8
ΔE00 3.84
Medium Purple
#9E43A2
ΔE00 3.98
Darkorchid
#9932CC
ΔE00 4.41
Ugly Purple
#A442A0
ΔE00 5.11
Warm Purple
#952E8F
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3BB2 #53B23B
analogous
#5F3BB2 #9A3BB2 #B23B8F
triadic
#9A3BB2 #B29A3B #3BB29A
tetradic
#9A3BB2 #B25F3B #53B23B #3B8FB2
square
#9A3BB2 #B25F3B #53B23B #3B8FB2
split-complementary
#9A3BB2 #8FB23B #3BB25F
monochromatic
#4A1D56 #722C84 #9A3BB2 #B560CA #CA8EDA
Accessibility & contrast
On white
5.77
#9A3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#9A3BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A3BB2
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3BB2 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D5FB6
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#9A5072
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9a3bb2; /* rgb */ color: rgb(154, 59, 178); /* oklch */ color: oklch(53.4% 0.193 318.9);
Tailwind
colors: {
custom: {
50: '#bb78c9',
500: '#9a3bb2',
950: '#000000',
},
}SCSS
$custom: #9a3bb2; $custom-light: #bb78c9; $custom-dark: #000000;
JSON
{
"hex": "#9a3bb2",
"rgb": {
"r": 154,
"g": 59,
"b": 178
},
"hsl": {
"h": 287.899,
"s": 50.211,
"l": 46.471
},
"oklch": {
"l": 0.53389,
"c": 0.19321,
"h": 318.9
},
"luminance": 0.13212
}Semantic roles & 50–950 ramp
primary
#9A3BB2
secondary
#91C485
accent
#DA4E6A
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82