#8B50CC#8B50CC
#8B50CC is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.186 H 302.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8B50CC |
|---|---|
| RGB | rgb(139, 80, 204) |
| HSL | hsl(269, 55%, 56%) |
| HSV | hsv(269, 61%, 80%) |
| CMYK | cmyk(31.9%, 60.8%, 0%, 20%) |
| CIE-LAB | lab(46.43, 48.75, -55.27) |
| CIE-LCH | lch(46.43, 73.70, 311.41°) |
| OKLab | oklab(55.91% 0.1006 -0.1566) |
| OKLCH | oklch(55.91% 0.186 302.7) |
| XYZ | xyz(24.4127, 15.5859, 58.8373) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.22
Deep Lavender
#8D5EB7
ΔE00 5.49
Darkorchid
#9932CC
ΔE00 5.79
Lightish Purple
#A552E6
ΔE00 5.95
Amethyst
#9B5FC0
ΔE00 6.25
Royal Purple
#7851A9
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B50CC #91CC50
analogous
#5053CC #8B50CC #C950CC
triadic
#8B50CC #CC8B50 #50CC8B
tetradic
#8B50CC #CC5053 #91CC50 #50CCC9
square
#8B50CC #CC5053 #91CC50 #50CCC9
split-complementary
#8B50CC #CCC950 #53CC50
monochromatic
#4F247D #6C32AD #8B50CC #AA7FDA #CAAFE8
Accessibility & contrast
On white
5.10
#8B50CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#8B50CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B50CC
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B50CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B50CC | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#2D6EC9
Tritanopia (blue-blind)
#7E6A86
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8b50cc; /* rgb */ color: rgb(139, 80, 204); /* oklch */ color: oklch(55.9% 0.186 302.7);
Tailwind
colors: {
custom: {
50: '#b184dc',
500: '#8b50cc',
950: '#000000',
},
}SCSS
$custom: #8b50cc; $custom-light: #b184dc; $custom-dark: #000000;
JSON
{
"hex": "#8b50cc",
"rgb": {
"r": 139,
"g": 80,
"b": 204
},
"hsl": {
"h": 268.548,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.55908,
"c": 0.18614,
"h": 302.7
},
"luminance": 0.15586
}Semantic roles & 50–950 ramp
primary
#8B50CC
secondary
#BDD6A2
accent
#DE4A97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83