#8A50AF#8A50AF
#8A50AF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.152 H 310.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8A50AF |
|---|---|
| RGB | rgb(138, 80, 175) |
| HSL | hsl(277, 37%, 50%) |
| HSV | hsv(277, 54%, 69%) |
| CMYK | cmyk(21.1%, 54.3%, 0%, 31.4%) |
| CIE-LAB | lab(44.57, 41.61, -41.37) |
| CIE-LCH | lch(44.57, 58.68, 315.16°) |
| OKLab | oklab(53.96% 0.0989 -0.1159) |
| OKLCH | oklch(53.96% 0.152 310.5) |
| XYZ | xyz(21.0863, 14.2361, 42.1862) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.82
Deep Lavender
#8D5EB7
ΔE00 4.17
Purply
#983FB2
ΔE00 4.36
Amethyst
#9B5FC0
ΔE00 5.97
Medium Purple
#9E43A2
ΔE00 5.98
Darkorchid
#9932CC
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A50AF #75AF50
analogous
#5B50AF #8A50AF #AF50A4
triadic
#8A50AF #AF8A50 #50AF8A
tetradic
#8A50AF #AF5B50 #75AF50 #50A4AF
square
#8A50AF #AF5B50 #75AF50 #50A4AF
split-complementary
#8A50AF #A4AF50 #50AF5B
monochromatic
#482A5B #693D85 #8A50AF #A67AC2 #C2A4D5
Accessibility & contrast
On white
5.46
#8A50AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#8A50AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A50AF
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A50AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A50AF | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#486AAD
Tritanopia (blue-blind)
#856078
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8a50af; /* rgb */ color: rgb(138, 80, 175); /* oklch */ color: oklch(54.0% 0.152 310.5);
Tailwind
colors: {
custom: {
50: '#ae83c7',
500: '#8a50af',
950: '#000000',
},
}SCSS
$custom: #8a50af; $custom-light: #ae83c7; $custom-dark: #000000;
JSON
{
"hex": "#8a50af",
"rgb": {
"r": 138,
"g": 80,
"b": 175
},
"hsl": {
"h": 276.632,
"s": 37.255,
"l": 50
},
"oklch": {
"l": 0.53963,
"c": 0.15236,
"h": 310.5
},
"luminance": 0.14236
}Semantic roles & 50–950 ramp
primary
#8A50AF
secondary
#A9C398
accent
#CD5B87
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82