#9A47BD#9A47BD
#9A47BD is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.5% C 0.187 H 314.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9A47BD |
|---|---|
| RGB | rgb(154, 71, 189) |
| HSL | hsl(282, 47%, 51%) |
| HSV | hsv(282, 62%, 74%) |
| CMYK | cmyk(18.5%, 62.4%, 0%, 25.9%) |
| CIE-LAB | lab(45.70, 53.38, -47.64) |
| CIE-LCH | lch(45.70, 71.55, 318.25°) |
| OKLab | oklab(55.49% 0.1312 -0.1337) |
| OKLCH | oklch(55.49% 0.187 314.5) |
| XYZ | xyz(24.7635, 15.0514, 49.7350) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.55
Darkorchid
#9932CC
ΔE00 4.38
Medium Purple
#9E43A2
ΔE00 5.35
Barney
#AC1DB8
ΔE00 5.94
Amethyst
#9B5FC0
ΔE00 6.04
Deep Lavender
#8D5EB7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A47BD #6ABD47
analogous
#5F47BD #9A47BD #BD47A5
triadic
#9A47BD #BD9A47 #47BD9A
tetradic
#9A47BD #BD5F47 #6ABD47 #47A5BD
square
#9A47BD #BD5F47 #6ABD47 #47A5BD
split-complementary
#9A47BD #A5BD47 #47BD5F
monochromatic
#522465 #763492 #9A47BD #B374CD #CBA1DD
Accessibility & contrast
On white
5.24
#9A47BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#9A47BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A47BD
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A47BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A47BD | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B68C1
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#975D7B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9a47bd; /* rgb */ color: rgb(154, 71, 189); /* oklch */ color: oklch(55.5% 0.187 314.5);
Tailwind
colors: {
custom: {
50: '#bb7fd1',
500: '#9a47bd',
950: '#000000',
},
}SCSS
$custom: #9a47bd; $custom-light: #bb7fd1; $custom-dark: #000000;
JSON
{
"hex": "#9a47bd",
"rgb": {
"r": 154,
"g": 71,
"b": 189
},
"hsl": {
"h": 282.203,
"s": 47.2,
"l": 50.98
},
"oklch": {
"l": 0.55492,
"c": 0.18736,
"h": 314.5
},
"luminance": 0.15051
}Semantic roles & 50–950 ramp
primary
#9A47BD
secondary
#A5CA96
accent
#D75179
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82