#9C47E5#9C47E5
#9C47E5 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.4% C 0.229 H 304.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9C47E5 |
|---|---|
| RGB | rgb(156, 71, 229) |
| HSL | hsl(272, 75%, 59%) |
| HSV | hsv(272, 69%, 90%) |
| CMYK | cmyk(31.9%, 69%, 0%, 10.2%) |
| CIE-LAB | lab(48.55, 62.59, -66.00) |
| CIE-LCH | lch(48.55, 90.96, 313.48°) |
| OKLab | oklab(58.42% 0.1307 -0.1875) |
| OKLCH | oklch(58.42% 0.229 304.9) |
| XYZ | xyz(30.1032, 17.2317, 75.8537) |
| Luminance | 0.1723 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.21
Purpley
#8756E4
ΔE00 4.46
Electric Purple
#AA23FF
ΔE00 4.50
Bright Violet
#AD0AFD
ΔE00 5.38
Lighter Purple
#A55AF4
ΔE00 5.44
Darkorchid
#9932CC
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C47E5 #90E547
analogous
#4D47E5 #9C47E5 #E547DF
triadic
#9C47E5 #E59C47 #47E59C
tetradic
#9C47E5 #E54D47 #90E547 #47DFE5
square
#9C47E5 #E54D47 #90E547 #47DFE5
split-complementary
#9C47E5 #DFE547 #47E54D
monochromatic
#5E169C #7E1ED1 #9C47E5 #B97DED #D6B2F4
Accessibility & contrast
On white
4.72
#9C47E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#9C47E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C47E5
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C47E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C47E5 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#8E6B91
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9c47e5; /* rgb */ color: rgb(156, 71, 229); /* oklch */ color: oklch(58.4% 0.229 304.9);
Tailwind
colors: {
custom: {
50: '#bf81ee',
500: '#9c47e5',
950: '#000000',
},
}SCSS
$custom: #9c47e5; $custom-light: #bf81ee; $custom-dark: #000000;
JSON
{
"hex": "#9c47e5",
"rgb": {
"r": 156,
"g": 71,
"b": 229
},
"hsl": {
"h": 272.278,
"s": 75.238,
"l": 58.824
},
"oklch": {
"l": 0.58416,
"c": 0.22858,
"h": 304.9
},
"luminance": 0.17232
}Semantic roles & 50–950 ramp
primary
#9C47E5
secondary
#C2E3A5
accent
#F2368D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84