#9047BA#9047BA
#9047BA is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.181 H 311.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9047BA |
|---|---|
| RGB | rgb(144, 71, 186) |
| HSL | hsl(278, 45%, 50%) |
| HSV | hsv(278, 62%, 73%) |
| CMYK | cmyk(22.6%, 61.8%, 0%, 27.1%) |
| CIE-LAB | lab(44.21, 50.32, -48.36) |
| CIE-LCH | lch(44.21, 69.79, 316.14°) |
| OKLab | oklab(54.07% 0.1186 -0.1361) |
| OKLCH | oklch(54.07% 0.181 311.1) |
| XYZ | xyz(22.6161, 13.9814, 47.9522) |
| Luminance | 0.1398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.75
Darkorchid
#9932CC
ΔE00 4.22
Royal Purple
#7851A9
ΔE00 5.62
Deep Lavender
#8D5EB7
ΔE00 6.06
Medium Purple
#9E43A2
ΔE00 6.07
Barney
#AC1DB8
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9047BA #71BA47
analogous
#5647BA #9047BA #BA47AB
triadic
#9047BA #BA9047 #47BA90
tetradic
#9047BA #BA5647 #71BA47 #47ABBA
square
#9047BA #BA5647 #71BA47 #47ABBA
split-complementary
#9047BA #ABBA47 #47BA56
monochromatic
#4C2562 #6E358E #9047BA #AB74CB #C6A0DB
Accessibility & contrast
On white
5.53
#9047BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#9047BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9047BA
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9047BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9047BA | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1665BE
Deuteranopia (green-blind)
#3C6AB7
Tritanopia (blue-blind)
#8B5D7A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9047ba; /* rgb */ color: rgb(144, 71, 186); /* oklch */ color: oklch(54.1% 0.181 311.1);
Tailwind
colors: {
custom: {
50: '#b47ecf',
500: '#9047ba',
950: '#000000',
},
}SCSS
$custom: #9047ba; $custom-light: #b47ecf; $custom-dark: #000000;
JSON
{
"hex": "#9047ba",
"rgb": {
"r": 144,
"g": 71,
"b": 186
},
"hsl": {
"h": 278.087,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.54068,
"c": 0.18054,
"h": 311.1
},
"luminance": 0.13981
}Semantic roles & 50–950 ramp
primary
#9047BA
secondary
#A7C895
accent
#D55382
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82