#8B49CA#8B49CA
#8B49CA is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.8% C 0.194 H 304.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8B49CA |
|---|---|
| RGB | rgb(139, 73, 202) |
| HSL | hsl(271, 55%, 54%) |
| HSV | hsv(271, 64%, 79%) |
| CMYK | cmyk(31.2%, 63.9%, 0%, 20.8%) |
| CIE-LAB | lab(44.97, 51.86, -56.47) |
| CIE-LCH | lch(44.97, 76.67, 312.57°) |
| OKLab | oklab(54.81% 0.109 -0.1601) |
| OKLCH | oklch(54.81% 0.194 304.2) |
| XYZ | xyz(23.6883, 14.5184, 57.4200) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.29
Purpley
#8756E4
ΔE00 5.39
Purply
#983FB2
ΔE00 5.58
Blueviolet
#8A2BE2
ΔE00 5.69
Royal Purple
#7851A9
ΔE00 6.26
Deep Lavender
#8D5EB7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B49CA #88CA49
analogous
#4B49CA #8B49CA #CA49C9
triadic
#8B49CA #CA8B49 #49CA8B
tetradic
#8B49CA #CA4B49 #88CA49 #49C9CA
square
#8B49CA #CA4B49 #88CA49 #49C9CA
split-complementary
#8B49CA #C9CA49 #49CA4B
monochromatic
#4D2276 #6C30A6 #8B49CA #A978D8 #C7A8E6
Accessibility & contrast
On white
5.38
#8B49CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#8B49CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B49CA
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B49CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B49CA | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#246AC7
Tritanopia (blue-blind)
#7F6583
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8b49ca; /* rgb */ color: rgb(139, 73, 202); /* oklch */ color: oklch(54.8% 0.194 304.2);
Tailwind
colors: {
custom: {
50: '#b180db',
500: '#8b49ca',
950: '#000000',
},
}SCSS
$custom: #8b49ca; $custom-light: #b180db; $custom-dark: #000000;
JSON
{
"hex": "#8b49ca",
"rgb": {
"r": 139,
"g": 73,
"b": 202
},
"hsl": {
"h": 270.698,
"s": 54.894,
"l": 53.922
},
"oklch": {
"l": 0.54808,
"c": 0.19365,
"h": 304.2
},
"luminance": 0.14518
}Semantic roles & 50–950 ramp
primary
#8B49CA
secondary
#B7D39C
accent
#DE4A92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83