Skip to content

#8c55ff

a light, electric violet · warm · closest name: slateblue

RGB
140, 85, 255
HSL
259°, 100%, 67%
CMYK
45, 67, 0, 0
Luminance
0.1929

Every format

HEX#8c55ff
RGBrgb(140, 85, 255)
HSLhsl(259, 100%, 67%)
CMYKcmyk(45%, 67%, 0%, 0%)
LABlab(51.0 59.3 -76.6)
LCHlch(51.0 96.9 307.7)
OKLCHoklch(0.604 0.238 292.7)

Copy-ready code

/* CSS */
color: #8c55ff;
background-color: #8c55ff;
/* Tailwind (arbitrary) */
class="text-[#8c55ff] bg-[#8c55ff]"
/* SCSS */
$brand: #8c55ff;
/* SwiftUI */
Color(red: 0.549, green: 0.333, blue: 1.000)
/* Android */
Color.parseColor("#8c55ff")

Accessibility — WCAG contrast

Aa
#8c55ff on white: 4.32:1
AA ✗ fail · AA-large · AAA
Aa
#8c55ff on black: 4.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green33.3%
Blue100.0%

CMYK percentages

Cyan45.1%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#8c55ff text on a black background

contrast 4.86:1

Card sample

#8c55ff text on a white background

contrast 4.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8c55ff;
Background color
Panel with #8c55ff background
background-color: #8c55ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8c55ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(140, 85, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 85, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c55ff;
background: linear-gradient(135deg, #8c55ff, #FD55FF);

Monochromatic scale

Palettes built from #8c55ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8c55ff in the Color Lab