#8A50B0#8A50B0
#8A50B0 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.154 H 310.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8A50B0 |
|---|---|
| RGB | rgb(138, 80, 176) |
| HSL | hsl(276, 38%, 50%) |
| HSV | hsv(276, 55%, 69%) |
| CMYK | cmyk(21.6%, 54.5%, 0%, 31%) |
| CIE-LAB | lab(44.63, 41.84, -41.87) |
| CIE-LCH | lch(44.63, 59.19, 314.98°) |
| OKLab | oklab(54.02% 0.0989 -0.1174) |
| OKLCH | oklch(54.02% 0.154 310.1) |
| XYZ | xyz(21.1849, 14.2756, 42.7053) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.81
Deep Lavender
#8D5EB7
ΔE00 4.13
Purply
#983FB2
ΔE00 4.36
Amethyst
#9B5FC0
ΔE00 5.92
Medium Purple
#9E43A2
ΔE00 6.09
Darkorchid
#9932CC
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A50B0 #76B050
analogous
#5A50B0 #8A50B0 #B050A6
triadic
#8A50B0 #B08A50 #50B08A
tetradic
#8A50B0 #B05A50 #76B050 #50A6B0
square
#8A50B0 #B05A50 #76B050 #50A6B0
split-complementary
#8A50B0 #A6B050 #50B05A
monochromatic
#482A5C #693D86 #8A50B0 #A67AC3 #C2A4D6
Accessibility & contrast
On white
5.45
#8A50B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#8A50B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A50B0
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A50B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A50B0 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3467B3
Deuteranopia (green-blind)
#476BAE
Tritanopia (blue-blind)
#856178
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8a50b0; /* rgb */ color: rgb(138, 80, 176); /* oklch */ color: oklch(54.0% 0.154 310.1);
Tailwind
colors: {
custom: {
50: '#af83c8',
500: '#8a50b0',
950: '#000000',
},
}SCSS
$custom: #8a50b0; $custom-light: #af83c8; $custom-dark: #000000;
JSON
{
"hex": "#8a50b0",
"rgb": {
"r": 138,
"g": 80,
"b": 176
},
"hsl": {
"h": 276.25,
"s": 37.795,
"l": 50.196
},
"oklch": {
"l": 0.54022,
"c": 0.15352,
"h": 310.1
},
"luminance": 0.14275
}Semantic roles & 50–950 ramp
primary
#8A50B0
secondary
#A9C398
accent
#CE5A88
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82