#8A50CB#8A50CB
#8A50CB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.7% C 0.185 H 302.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A50CB |
|---|---|
| RGB | rgb(138, 80, 203) |
| HSL | hsl(268, 54%, 55%) |
| HSV | hsv(268, 61%, 80%) |
| CMYK | cmyk(32%, 60.6%, 0%, 20.4%) |
| CIE-LAB | lab(46.25, 48.28, -54.99) |
| CIE-LCH | lch(46.25, 73.17, 311.28°) |
| OKLab | oklab(55.73% 0.0993 -0.1558) |
| OKLCH | oklch(55.73% 0.185 302.5) |
| XYZ | xyz(24.1269, 15.4524, 58.1999) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.31
Deep Lavender
#8D5EB7
ΔE00 5.46
Darkorchid
#9932CC
ΔE00 5.82
Royal Purple
#7851A9
ΔE00 6.10
Lightish Purple
#A552E6
ΔE00 6.18
Amethyst
#9B5FC0
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A50CB #91CB50
analogous
#5053CB #8A50CB #C850CB
triadic
#8A50CB #CB8A50 #50CB8A
tetradic
#8A50CB #CB5053 #91CB50 #50CBC8
square
#8A50CB #CB5053 #91CB50 #50CBC8
split-complementary
#8A50CB #CBC850 #53CB50
monochromatic
#4E257C #6B33AB #8A50CB #AA7FD9 #C9AEE7
Accessibility & contrast
On white
5.13
#8A50CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#8A50CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A50CB
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A50CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A50CB | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036CCF
Deuteranopia (green-blind)
#2D6DC8
Tritanopia (blue-blind)
#7D6A86
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8a50cb; /* rgb */ color: rgb(138, 80, 203); /* oklch */ color: oklch(55.7% 0.185 302.5);
Tailwind
colors: {
custom: {
50: '#b084db',
500: '#8a50cb',
950: '#000000',
},
}SCSS
$custom: #8a50cb; $custom-light: #b084db; $custom-dark: #000000;
JSON
{
"hex": "#8a50cb",
"rgb": {
"r": 138,
"g": 80,
"b": 203
},
"hsl": {
"h": 268.293,
"s": 54.185,
"l": 55.49
},
"oklch": {
"l": 0.55731,
"c": 0.18478,
"h": 302.5
},
"luminance": 0.15452
}Semantic roles & 50–950 ramp
primary
#8A50CB
secondary
#BDD5A2
accent
#DE4A98
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83