#8A49B5#8A49B5
#8A49B5 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.170 H 309.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8A49B5 |
|---|---|
| RGB | rgb(138, 73, 181) |
| HSL | hsl(276, 43%, 50%) |
| HSV | hsv(276, 60%, 71%) |
| CMYK | cmyk(23.8%, 59.7%, 0%, 29%) |
| CIE-LAB | lab(43.51, 46.71, -46.58) |
| CIE-LCH | lch(43.51, 65.97, 315.08°) |
| OKLab | oklab(53.3% 0.1084 -0.1311) |
| OKLCH | oklch(53.3% 0.17 309.6) |
| XYZ | xyz(21.2027, 13.5049, 45.1969) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.40
Royal Purple
#7851A9
ΔE00 4.38
Darkorchid
#9932CC
ΔE00 5.17
Deep Lavender
#8D5EB7
ΔE00 5.80
Medium Purple
#9E43A2
ΔE00 6.35
Amethyst
#9B5FC0
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A49B5 #74B549
analogous
#5449B5 #8A49B5 #B549AA
triadic
#8A49B5 #B58A49 #49B58A
tetradic
#8A49B5 #B55449 #74B549 #49AAB5
square
#8A49B5 #B55449 #74B549 #49AAB5
split-complementary
#8A49B5 #AAB549 #49B554
monochromatic
#47265E #693789 #8A49B5 #A674C7 #C2A0D9
Accessibility & contrast
On white
5.67
#8A49B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#8A49B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A49B5
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A49B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A49B5 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2064B8
Deuteranopia (green-blind)
#3C68B2
Tritanopia (blue-blind)
#845D78
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8a49b5; /* rgb */ color: rgb(138, 73, 181); /* oklch */ color: oklch(53.3% 0.170 309.6);
Tailwind
colors: {
custom: {
50: '#af7fcc',
500: '#8a49b5',
950: '#000000',
},
}SCSS
$custom: #8a49b5; $custom-light: #af7fcc; $custom-dark: #000000;
JSON
{
"hex": "#8a49b5",
"rgb": {
"r": 138,
"g": 73,
"b": 181
},
"hsl": {
"h": 276.111,
"s": 42.52,
"l": 49.804
},
"oklch": {
"l": 0.53302,
"c": 0.1701,
"h": 309.6
},
"luminance": 0.13505
}Semantic roles & 50–950 ramp
primary
#8A49B5
secondary
#A8C594
accent
#D25587
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82