#9147BB#9147BB
#9147BB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.182 H 311.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #9147BB |
|---|---|
| RGB | rgb(145, 71, 187) |
| HSL | hsl(278, 46%, 51%) |
| HSV | hsv(278, 62%, 73%) |
| CMYK | cmyk(22.5%, 62%, 0%, 26.7%) |
| CIE-LAB | lab(44.40, 50.79, -48.63) |
| CIE-LCH | lch(44.40, 70.32, 316.24°) |
| OKLab | oklab(54.25% 0.1199 -0.1369) |
| OKLCH | oklch(54.25% 0.182 311.2) |
| XYZ | xyz(22.8983, 14.1146, 48.5222) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.74
Darkorchid
#9932CC
ΔE00 4.13
Royal Purple
#7851A9
ΔE00 5.80
Deep Lavender
#8D5EB7
ΔE00 6.05
Medium Purple
#9E43A2
ΔE00 6.08
Barney
#AC1DB8
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9147BB #71BB47
analogous
#5747BB #9147BB #BB47AB
triadic
#9147BB #BB9147 #47BB91
tetradic
#9147BB #BB5747 #71BB47 #47ABBB
square
#9147BB #BB5747 #71BB47 #47ABBB
split-complementary
#9147BB #ABBB47 #47BB57
monochromatic
#4C2563 #6F3590 #9147BB #AC74CC #C6A0DC
Accessibility & contrast
On white
5.49
#9147BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#9147BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9147BB
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9147BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9147BB | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1565BF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#8C5D7A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9147bb; /* rgb */ color: rgb(145, 71, 187); /* oklch */ color: oklch(54.3% 0.182 311.2);
Tailwind
colors: {
custom: {
50: '#b47ed0',
500: '#9147bb',
950: '#000000',
},
}SCSS
$custom: #9147bb; $custom-light: #b47ed0; $custom-dark: #000000;
JSON
{
"hex": "#9147bb",
"rgb": {
"r": 145,
"g": 71,
"b": 187
},
"hsl": {
"h": 278.276,
"s": 46.032,
"l": 50.588
},
"oklch": {
"l": 0.54253,
"c": 0.18196,
"h": 311.2
},
"luminance": 0.14114
}Semantic roles & 50–950 ramp
primary
#9147BB
secondary
#A8C995
accent
#D65282
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82