#8A50BD#8A50BD
#8A50BD is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.169 H 306.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8A50BD |
|---|---|
| RGB | rgb(138, 80, 189) |
| HSL | hsl(272, 45%, 53%) |
| HSV | hsv(272, 58%, 74%) |
| CMYK | cmyk(27%, 57.7%, 0%, 25.9%) |
| CIE-LAB | lab(45.38, 44.89, -48.27) |
| CIE-LCH | lch(45.38, 65.92, 312.92°) |
| OKLab | oklab(54.82% 0.0995 -0.1361) |
| OKLCH | oklch(54.82% 0.169 306.2) |
| XYZ | xyz(22.5333, 14.8149, 49.8067) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.30
Royal Purple
#7851A9
ΔE00 4.48
Purply
#983FB2
ΔE00 5.08
Amethyst
#9B5FC0
ΔE00 5.73
Darkorchid
#9932CC
ΔE00 5.97
Purpley
#8756E4
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A50BD #83BD50
analogous
#5450BD #8A50BD #BD50B9
triadic
#8A50BD #BD8A50 #50BD8A
tetradic
#8A50BD #BD5450 #83BD50 #50B9BD
square
#8A50BD #BD5450 #83BD50 #50B9BD
split-complementary
#8A50BD #B9BD50 #50BD54
monochromatic
#4B286A #6B3997 #8A50BD #A87CCE #C5A9DF
Accessibility & contrast
On white
5.30
#8A50BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#8A50BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A50BD
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A50BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A50BD | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2569C1
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#82657F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8a50bd; /* rgb */ color: rgb(138, 80, 189); /* oklch */ color: oklch(54.8% 0.169 306.2);
Tailwind
colors: {
custom: {
50: '#af83d1',
500: '#8a50bd',
950: '#000000',
},
}SCSS
$custom: #8a50bd; $custom-light: #af83d1; $custom-dark: #000000;
JSON
{
"hex": "#8a50bd",
"rgb": {
"r": 138,
"g": 80,
"b": 189
},
"hsl": {
"h": 271.927,
"s": 45.228,
"l": 52.745
},
"oklch": {
"l": 0.54819,
"c": 0.16857,
"h": 306.2
},
"luminance": 0.14815
}Semantic roles & 50–950 ramp
primary
#8A50BD
secondary
#B3CC9D
accent
#D55390
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82