#9A47BC#9A47BC
#9A47BC is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.4% C 0.186 H 314.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9A47BC |
|---|---|
| RGB | rgb(154, 71, 188) |
| HSL | hsl(283, 47%, 51%) |
| HSV | hsv(283, 62%, 74%) |
| CMYK | cmyk(18.1%, 62.2%, 0%, 26.3%) |
| CIE-LAB | lab(45.65, 53.17, -47.15) |
| CIE-LCH | lch(45.65, 71.06, 318.43°) |
| OKLab | oklab(55.43% 0.1313 -0.1323) |
| OKLCH | oklch(55.43% 0.186 314.8) |
| XYZ | xyz(24.6553, 15.0081, 49.1653) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.43
Darkorchid
#9932CC
ΔE00 4.47
Medium Purple
#9E43A2
ΔE00 5.18
Barney
#AC1DB8
ΔE00 5.89
Amethyst
#9B5FC0
ΔE00 6.06
Deep Lavender
#8D5EB7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A47BC #69BC47
analogous
#5F47BC #9A47BC #BC47A3
triadic
#9A47BC #BC9A47 #47BC9A
tetradic
#9A47BC #BC5F47 #69BC47 #47A3BC
square
#9A47BC #BC5F47 #69BC47 #47A3BC
split-complementary
#9A47BC #A3BC47 #47BC5F
monochromatic
#522464 #763591 #9A47BC #B374CC #CBA1DD
Accessibility & contrast
On white
5.25
#9A47BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#9A47BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A47BC
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A47BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A47BC | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D67C0
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#975C7B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9a47bc; /* rgb */ color: rgb(154, 71, 188); /* oklch */ color: oklch(55.4% 0.186 314.8);
Tailwind
colors: {
custom: {
50: '#bb7fd1',
500: '#9a47bc',
950: '#000000',
},
}SCSS
$custom: #9a47bc; $custom-light: #bb7fd1; $custom-dark: #000000;
JSON
{
"hex": "#9a47bc",
"rgb": {
"r": 154,
"g": 71,
"b": 188
},
"hsl": {
"h": 282.564,
"s": 46.614,
"l": 50.784
},
"oklch": {
"l": 0.5543,
"c": 0.18635,
"h": 314.8
},
"luminance": 0.15007
}Semantic roles & 50–950 ramp
primary
#9A47BC
secondary
#A5C995
accent
#D65278
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82