#8A49B4#8A49B4
#8A49B4 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.169 H 309.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8A49B4 |
|---|---|
| RGB | rgb(138, 73, 180) |
| HSL | hsl(276, 42%, 50%) |
| HSV | hsv(276, 59%, 71%) |
| CMYK | cmyk(23.3%, 59.4%, 0%, 29.4%) |
| CIE-LAB | lab(43.45, 46.48, -46.09) |
| CIE-LCH | lch(43.45, 65.46, 315.24°) |
| OKLab | oklab(53.24% 0.1084 -0.1297) |
| OKLCH | oklch(53.24% 0.169 309.9) |
| XYZ | xyz(21.1004, 13.4640, 44.6584) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.34
Royal Purple
#7851A9
ΔE00 4.35
Darkorchid
#9932CC
ΔE00 5.27
Deep Lavender
#8D5EB7
ΔE00 5.80
Medium Purple
#9E43A2
ΔE00 6.22
Amethyst
#9B5FC0
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A49B4 #73B449
analogous
#5549B4 #8A49B4 #B449A8
triadic
#8A49B4 #B48A49 #49B48A
tetradic
#8A49B4 #B45549 #73B449 #49A8B4
square
#8A49B4 #B45549 #73B449 #49A8B4
split-complementary
#8A49B4 #A8B449 #49B455
monochromatic
#47265D #693788 #8A49B4 #A674C7 #C29FD8
Accessibility & contrast
On white
5.69
#8A49B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#8A49B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A49B4
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A49B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A49B4 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2164B7
Deuteranopia (green-blind)
#3D68B1
Tritanopia (blue-blind)
#845D77
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8a49b4; /* rgb */ color: rgb(138, 73, 180); /* oklch */ color: oklch(53.2% 0.169 309.9);
Tailwind
colors: {
custom: {
50: '#af7fcb',
500: '#8a49b4',
950: '#000000',
},
}SCSS
$custom: #8a49b4; $custom-light: #af7fcb; $custom-dark: #000000;
JSON
{
"hex": "#8a49b4",
"rgb": {
"r": 138,
"g": 73,
"b": 180
},
"hsl": {
"h": 276.449,
"s": 42.292,
"l": 49.608
},
"oklch": {
"l": 0.53238,
"c": 0.169,
"h": 309.9
},
"luminance": 0.13464
}Semantic roles & 50–950 ramp
primary
#8A49B4
secondary
#A7C594
accent
#D25687
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82