#8A50B3#8A50B3
#8A50B3 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.2% C 0.157 H 309.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A50B3 |
|---|---|
| RGB | rgb(138, 80, 179) |
| HSL | hsl(275, 39%, 51%) |
| HSV | hsv(275, 55%, 70%) |
| CMYK | cmyk(22.9%, 55.3%, 0%, 29.8%) |
| CIE-LAB | lab(44.80, 42.53, -43.36) |
| CIE-LCH | lch(44.80, 60.74, 314.45°) |
| OKLab | oklab(54.2% 0.0991 -0.1217) |
| OKLCH | oklch(54.2% 0.157 309.2) |
| XYZ | xyz(21.4850, 14.3956, 44.2859) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.84
Deep Lavender
#8D5EB7
ΔE00 4.06
Purply
#983FB2
ΔE00 4.43
Amethyst
#9B5FC0
ΔE00 5.80
Medium Purple
#9E43A2
ΔE00 6.45
Darkorchid
#9932CC
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A50B3 #79B350
analogous
#5850B3 #8A50B3 #B350AA
triadic
#8A50B3 #B38A50 #50B38A
tetradic
#8A50B3 #B35850 #79B350 #50AAB3
square
#8A50B3 #B35850 #79B350 #50AAB3
split-complementary
#8A50B3 #AAB350 #50B358
monochromatic
#49295F #6A3C8A #8A50B3 #A77BC6 #C3A5D8
Accessibility & contrast
On white
5.41
#8A50B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#8A50B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A50B3
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A50B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A50B3 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3167B6
Deuteranopia (green-blind)
#456BB1
Tritanopia (blue-blind)
#84627A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8a50b3; /* rgb */ color: rgb(138, 80, 179); /* oklch */ color: oklch(54.2% 0.157 309.2);
Tailwind
colors: {
custom: {
50: '#af83ca',
500: '#8a50b3',
950: '#000000',
},
}SCSS
$custom: #8a50b3; $custom-light: #af83ca; $custom-dark: #000000;
JSON
{
"hex": "#8a50b3",
"rgb": {
"r": 138,
"g": 80,
"b": 179
},
"hsl": {
"h": 275.152,
"s": 39.442,
"l": 50.784
},
"oklch": {
"l": 0.54202,
"c": 0.15698,
"h": 309.2
},
"luminance": 0.14395
}Semantic roles & 50–950 ramp
primary
#8A50B3
secondary
#ACC599
accent
#CF588A
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82