#8A50BF#8A50BF
#8A50BF is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.171 H 305.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8A50BF |
|---|---|
| RGB | rgb(138, 80, 191) |
| HSL | hsl(271, 46%, 53%) |
| HSV | hsv(271, 58%, 75%) |
| CMYK | cmyk(27.7%, 58.1%, 0%, 25.1%) |
| CIE-LAB | lab(45.50, 45.37, -49.24) |
| CIE-LCH | lch(45.50, 66.96, 312.65°) |
| OKLab | oklab(54.95% 0.0995 -0.1389) |
| OKLCH | oklch(54.95% 0.171 305.6) |
| XYZ | xyz(22.7518, 14.9023, 50.9580) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.42
Royal Purple
#7851A9
ΔE00 4.68
Purply
#983FB2
ΔE00 5.26
Amethyst
#9B5FC0
ΔE00 5.78
Darkorchid
#9932CC
ΔE00 5.89
Purpley
#8756E4
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A50BF #85BF50
analogous
#5250BF #8A50BF #BF50BD
triadic
#8A50BF #BF8A50 #50BF8A
tetradic
#8A50BF #BF5250 #85BF50 #50BDBF
square
#8A50BF #BF5250 #85BF50 #50BDBF
split-complementary
#8A50BF #BDBF50 #50BF52
monochromatic
#4C286D #6B389A #8A50BF #A87DCF #C6AAE0
Accessibility & contrast
On white
5.28
#8A50BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#8A50BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A50BF
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A50BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A50BF | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#236AC3
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#816680
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8a50bf; /* rgb */ color: rgb(138, 80, 191); /* oklch */ color: oklch(54.9% 0.171 305.6);
Tailwind
colors: {
custom: {
50: '#af84d3',
500: '#8a50bf',
950: '#000000',
},
}SCSS
$custom: #8a50bf; $custom-light: #af84d3; $custom-dark: #000000;
JSON
{
"hex": "#8a50bf",
"rgb": {
"r": 138,
"g": 80,
"b": 191
},
"hsl": {
"h": 271.351,
"s": 46.444,
"l": 53.137
},
"oklch": {
"l": 0.54946,
"c": 0.1709,
"h": 305.6
},
"luminance": 0.14902
}Semantic roles & 50–950 ramp
primary
#8A50BF
secondary
#B4CD9D
accent
#D65291
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83