#9B47E4#9B47E4
#9B47E4 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.227 H 304.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9B47E4 |
|---|---|
| RGB | rgb(155, 71, 228) |
| HSL | hsl(272, 74%, 59%) |
| HSV | hsv(272, 69%, 89%) |
| CMYK | cmyk(32%, 68.9%, 0%, 10.6%) |
| CIE-LAB | lab(48.36, 62.17, -65.76) |
| CIE-LCH | lch(48.36, 90.49, 313.39°) |
| OKLab | oklab(58.23% 0.1295 -0.1869) |
| OKLCH | oklch(58.23% 0.227 304.7) |
| XYZ | xyz(29.7712, 17.0766, 75.1115) |
| Luminance | 0.1708 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.38
Purpley
#8756E4
ΔE00 4.38
Electric Purple
#AA23FF
ΔE00 4.60
Bright Violet
#AD0AFD
ΔE00 5.44
Darkorchid
#9932CC
ΔE00 5.59
Lighter Purple
#A55AF4
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B47E4 #90E447
analogous
#4C47E4 #9B47E4 #E447DE
triadic
#9B47E4 #E49B47 #47E49B
tetradic
#9B47E4 #E44C47 #90E447 #47DEE4
square
#9B47E4 #E44C47 #90E447 #47DEE4
split-complementary
#9B47E4 #DEE447 #47E44C
monochromatic
#5D179A #7D1ECF #9B47E4 #B87CEC #D5B2F4
Accessibility & contrast
On white
4.76
#9B47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#9B47E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B47E4
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B47E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B47E4 | 1.00 | 4.76 | 4.42 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#8D6B90
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9b47e4; /* rgb */ color: rgb(155, 71, 228); /* oklch */ color: oklch(58.2% 0.227 304.7);
Tailwind
colors: {
custom: {
50: '#be80ed',
500: '#9b47e4',
950: '#000000',
},
}SCSS
$custom: #9b47e4; $custom-light: #be80ed; $custom-dark: #000000;
JSON
{
"hex": "#9b47e4",
"rgb": {
"r": 155,
"g": 71,
"b": 228
},
"hsl": {
"h": 272.102,
"s": 74.408,
"l": 58.627
},
"oklch": {
"l": 0.58229,
"c": 0.22734,
"h": 304.7
},
"luminance": 0.17076
}Semantic roles & 50–950 ramp
primary
#9B47E4
secondary
#C1E2A4
accent
#F1378D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84