#8049AA#8049AA
#8049AA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.4% C 0.154 H 308.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8049AA |
|---|---|
| RGB | rgb(128, 73, 170) |
| HSL | hsl(274, 40%, 48%) |
| HSV | hsv(274, 57%, 67%) |
| CMYK | cmyk(24.7%, 57.1%, 0%, 33.3%) |
| CIE-LAB | lab(41.62, 41.60, -43.19) |
| CIE-LCH | lch(41.62, 59.96, 313.93°) |
| OKLab | oklab(51.43% 0.0951 -0.1215) |
| OKLCH | oklch(51.43% 0.154 308.1) |
| XYZ | xyz(18.5389, 12.2568, 39.4116) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.84
Purply
#983FB2
ΔE00 4.89
Deep Lavender
#8D5EB7
ΔE00 6.64
Darkorchid
#9932CC
ΔE00 6.99
Medium Purple
#9E43A2
ΔE00 7.07
Rebeccapurple
#663399
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8049AA #73AA49
analogous
#5049AA #8049AA #AA49A3
triadic
#8049AA #AA8049 #49AA80
tetradic
#8049AA #AA5049 #73AA49 #49A3AA
square
#8049AA #AA5049 #73AA49 #49A3AA
split-complementary
#8049AA #A3AA49 #49AA50
monochromatic
#402454 #60377F #8049AA #9E6FC1 #BB9AD4
Accessibility & contrast
On white
6.08
#8049AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#8049AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8049AA
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8049AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8049AA | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#3C63A8
Tritanopia (blue-blind)
#7A5B72
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8049aa; /* rgb */ color: rgb(128, 73, 170); /* oklch */ color: oklch(51.4% 0.154 308.1);
Tailwind
colors: {
custom: {
50: '#a87ec4',
500: '#8049aa',
950: '#000000',
},
}SCSS
$custom: #8049aa; $custom-light: #a87ec4; $custom-dark: #000000;
JSON
{
"hex": "#8049aa",
"rgb": {
"r": 128,
"g": 73,
"b": 170
},
"hsl": {
"h": 274.021,
"s": 39.918,
"l": 47.647
},
"oklch": {
"l": 0.51435,
"c": 0.1543,
"h": 308.1
},
"luminance": 0.12257
}Semantic roles & 50–950 ramp
primary
#8049AA
secondary
#A4C08F
accent
#D0588C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82