#9A47BF#9A47BF
#9A47BF is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.189 H 313.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9A47BF |
|---|---|
| RGB | rgb(154, 71, 191) |
| HSL | hsl(282, 48%, 51%) |
| HSV | hsv(282, 63%, 75%) |
| CMYK | cmyk(19.4%, 62.8%, 0%, 25.1%) |
| CIE-LAB | lab(45.82, 53.80, -48.61) |
| CIE-LCH | lch(45.82, 72.51, 317.90°) |
| OKLab | oklab(55.62% 0.1312 -0.1366) |
| OKLCH | oklch(55.62% 0.189 313.9) |
| XYZ | xyz(24.9820, 15.1388, 50.8862) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.80
Darkorchid
#9932CC
ΔE00 4.21
Medium Purple
#9E43A2
ΔE00 5.69
Amethyst
#9B5FC0
ΔE00 6.01
Barney
#AC1DB8
ΔE00 6.05
Deep Lavender
#8D5EB7
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A47BF #6CBF47
analogous
#5E47BF #9A47BF #BF47A8
triadic
#9A47BF #BF9A47 #47BF9A
tetradic
#9A47BF #BF5E47 #6CBF47 #47A8BF
square
#9A47BF #BF5E47 #6CBF47 #47A8BF
split-complementary
#9A47BF #A8BF47 #47BF5E
monochromatic
#532468 #773495 #9A47BF #B374CF #CCA2DF
Accessibility & contrast
On white
5.21
#9A47BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#9A47BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A47BF
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A47BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A47BF | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1768C3
Deuteranopia (green-blind)
#426FBC
Tritanopia (blue-blind)
#975D7D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9a47bf; /* rgb */ color: rgb(154, 71, 191); /* oklch */ color: oklch(55.6% 0.189 313.9);
Tailwind
colors: {
custom: {
50: '#bb7fd3',
500: '#9a47bf',
950: '#000000',
},
}SCSS
$custom: #9a47bf; $custom-light: #bb7fd3; $custom-dark: #000000;
JSON
{
"hex": "#9a47bf",
"rgb": {
"r": 154,
"g": 71,
"b": 191
},
"hsl": {
"h": 281.5,
"s": 48.387,
"l": 51.373
},
"oklch": {
"l": 0.55617,
"c": 0.18939,
"h": 313.9
},
"luminance": 0.15138
}Semantic roles & 50–950 ramp
primary
#9A47BF
secondary
#A7CB96
accent
#D8507A
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83