#8A49C8#8A49C8
#8A49C8 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.6% C 0.191 H 304.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8A49C8 |
|---|---|
| RGB | rgb(138, 73, 200) |
| HSL | hsl(271, 54%, 54%) |
| HSV | hsv(271, 64%, 78%) |
| CMYK | cmyk(31%, 63.5%, 0%, 21.6%) |
| CIE-LAB | lab(44.71, 51.17, -55.73) |
| CIE-LCH | lch(44.71, 75.65, 312.56°) |
| OKLab | oklab(54.56% 0.1078 -0.1579) |
| OKLCH | oklch(54.56% 0.191 304.3) |
| XYZ | xyz(23.2868, 14.3386, 56.1732) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.33
Purply
#983FB2
ΔE00 5.45
Purpley
#8756E4
ΔE00 5.62
Blueviolet
#8A2BE2
ΔE00 5.79
Royal Purple
#7851A9
ΔE00 5.96
Deep Lavender
#8D5EB7
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A49C8 #87C849
analogous
#4A49C8 #8A49C8 #C849C6
triadic
#8A49C8 #C88A49 #49C88A
tetradic
#8A49C8 #C84A49 #87C849 #49C6C8
square
#8A49C8 #C84A49 #87C849 #49C6C8
split-complementary
#8A49C8 #C6C849 #49C84A
monochromatic
#4C2374 #6B31A3 #8A49C8 #A878D6 #C6A7E4
Accessibility & contrast
On white
5.43
#8A49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#8A49C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A49C8
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A49C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A49C8 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#266AC5
Tritanopia (blue-blind)
#7F6482
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8a49c8; /* rgb */ color: rgb(138, 73, 200); /* oklch */ color: oklch(54.6% 0.191 304.3);
Tailwind
colors: {
custom: {
50: '#b07fd9',
500: '#8a49c8',
950: '#000000',
},
}SCSS
$custom: #8a49c8; $custom-light: #b07fd9; $custom-dark: #000000;
JSON
{
"hex": "#8a49c8",
"rgb": {
"r": 138,
"g": 73,
"b": 200
},
"hsl": {
"h": 270.709,
"s": 53.586,
"l": 53.529
},
"oklch": {
"l": 0.54557,
"c": 0.19121,
"h": 304.3
},
"luminance": 0.14338
}Semantic roles & 50–950 ramp
primary
#8A49C8
secondary
#B6D29B
accent
#DD4B92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83