#9049BA#9049BA
#9049BA is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.178 H 310.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9049BA |
|---|---|
| RGB | rgb(144, 73, 186) |
| HSL | hsl(278, 45%, 51%) |
| HSV | hsv(278, 61%, 73%) |
| CMYK | cmyk(22.6%, 60.8%, 0%, 27.1%) |
| CIE-LAB | lab(44.58, 49.32, -47.77) |
| CIE-LCH | lch(44.58, 68.66, 315.92°) |
| OKLab | oklab(54.34% 0.1161 -0.1344) |
| OKLCH | oklch(54.34% 0.178 310.8) |
| XYZ | xyz(22.7454, 14.2400, 47.9953) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.99
Darkorchid
#9932CC
ΔE00 4.57
Royal Purple
#7851A9
ΔE00 5.46
Deep Lavender
#8D5EB7
ΔE00 5.61
Medium Purple
#9E43A2
ΔE00 6.10
Amethyst
#9B5FC0
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9049BA #73BA49
analogous
#5749BA #9049BA #BA49AB
triadic
#9049BA #BA9049 #49BA90
tetradic
#9049BA #BA5749 #73BA49 #49ABBA
square
#9049BA #BA5749 #73BA49 #49ABBA
split-complementary
#9049BA #ABBA49 #49BA57
monochromatic
#4C2663 #6E368F #9049BA #AB75CB #C6A2DC
Accessibility & contrast
On white
5.46
#9049BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#9049BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9049BA
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9049BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9049BA | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D66BE
Deuteranopia (green-blind)
#3E6BB7
Tritanopia (blue-blind)
#8B5E7B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9049ba; /* rgb */ color: rgb(144, 73, 186); /* oklch */ color: oklch(54.3% 0.178 310.8);
Tailwind
colors: {
custom: {
50: '#b47fcf',
500: '#9049ba',
950: '#000000',
},
}SCSS
$custom: #9049ba; $custom-light: #b47fcf; $custom-dark: #000000;
JSON
{
"hex": "#9049ba",
"rgb": {
"r": 144,
"g": 73,
"b": 186
},
"hsl": {
"h": 277.699,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.54335,
"c": 0.17762,
"h": 310.8
},
"luminance": 0.1424
}Semantic roles & 50–950 ramp
primary
#9049BA
secondary
#A9C896
accent
#D55383
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82