#9C47BF#9C47BF
#9C47BF is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.190 H 314.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9C47BF |
|---|---|
| RGB | rgb(156, 71, 191) |
| HSL | hsl(283, 48%, 51%) |
| HSV | hsv(283, 63%, 75%) |
| CMYK | cmyk(18.3%, 62.8%, 0%, 25.1%) |
| CIE-LAB | lab(46.09, 54.28, -48.17) |
| CIE-LCH | lch(46.09, 72.57, 318.41°) |
| OKLab | oklab(55.87% 0.1337 -0.1352) |
| OKLCH | oklch(55.87% 0.19 314.7) |
| XYZ | xyz(25.3660, 15.3368, 50.9042) |
| Luminance | 0.1534 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.86
Darkorchid
#9932CC
ΔE00 4.41
Medium Purple
#9E43A2
ΔE00 5.53
Amethyst
#9B5FC0
ΔE00 5.90
Barney
#AC1DB8
ΔE00 5.93
Deep Lavender
#8D5EB7
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C47BF #6ABF47
analogous
#6047BF #9C47BF #BF47A6
triadic
#9C47BF #BF9C47 #47BF9C
tetradic
#9C47BF #BF6047 #6ABF47 #47A6BF
square
#9C47BF #BF6047 #6ABF47 #47A6BF
split-complementary
#9C47BF #A6BF47 #47BF60
monochromatic
#542468 #793495 #9C47BF #B474CF #CDA2DF
Accessibility & contrast
On white
5.16
#9C47BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#9C47BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C47BF
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C47BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C47BF | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#446FBC
Tritanopia (blue-blind)
#995D7D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9c47bf; /* rgb */ color: rgb(156, 71, 191); /* oklch */ color: oklch(55.9% 0.190 314.7);
Tailwind
colors: {
custom: {
50: '#bc7fd3',
500: '#9c47bf',
950: '#000000',
},
}SCSS
$custom: #9c47bf; $custom-light: #bc7fd3; $custom-dark: #000000;
JSON
{
"hex": "#9c47bf",
"rgb": {
"r": 156,
"g": 71,
"b": 191
},
"hsl": {
"h": 282.5,
"s": 48.387,
"l": 51.373
},
"oklch": {
"l": 0.55868,
"c": 0.19017,
"h": 314.7
},
"luminance": 0.15336
}Semantic roles & 50–950 ramp
primary
#9C47BF
secondary
#A6CB96
accent
#D85078
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83