#9A3BB7#9A3BB7
#9A3BB7 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.198 H 317.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3BB7 |
|---|---|
| RGB | rgb(154, 59, 183) |
| HSL | hsl(286, 51%, 47%) |
| HSV | hsv(286, 68%, 72%) |
| CMYK | cmyk(15.8%, 67.8%, 0%, 28.2%) |
| CIE-LAB | lab(43.39, 57.56, -47.84) |
| CIE-LCH | lch(43.39, 74.85, 320.27°) |
| OKLab | oklab(53.7% 0.1454 -0.1342) |
| OKLCH | oklch(53.7% 0.198 317.3) |
| XYZ | xyz(23.4364, 13.4178, 46.1459) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.04
Darkorchid
#9932CC
ΔE00 3.60
Barney
#AC1DB8
ΔE00 3.94
Medium Purple
#9E43A2
ΔE00 4.73
Ugly Purple
#A442A0
ΔE00 5.82
Vibrant Purple
#AD03DE
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3BB7 #58B73B
analogous
#5C3BB7 #9A3BB7 #B73B96
triadic
#9A3BB7 #B79A3B #3BB79A
tetradic
#9A3BB7 #B75C3B #58B73B #3B96B7
square
#9A3BB7 #B75C3B #58B73B #3B96B7
split-complementary
#9A3BB7 #96B73B #3BB75C
monochromatic
#4C1D5A #732C89 #9A3BB7 #B463CD #CA91DC
Accessibility & contrast
On white
5.70
#9A3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#9A3BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A3BB7
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3BB7 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#3E69B4
Tritanopia (blue-blind)
#995274
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9a3bb7; /* rgb */ color: rgb(154, 59, 183); /* oklch */ color: oklch(53.7% 0.198 317.3);
Tailwind
colors: {
custom: {
50: '#bb78cd',
500: '#9a3bb7',
950: '#000000',
},
}SCSS
$custom: #9a3bb7; $custom-light: #bb78cd; $custom-dark: #000000;
JSON
{
"hex": "#9a3bb7",
"rgb": {
"r": 154,
"g": 59,
"b": 183
},
"hsl": {
"h": 285.968,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.53704,
"c": 0.19786,
"h": 317.3
},
"luminance": 0.13417
}Semantic roles & 50–950 ramp
primary
#9A3BB7
secondary
#96C687
accent
#DB4D6E
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82