Skip to content

#8a55ff

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

RGB
138, 85, 255
HSL
259°, 100%, 67%
CMYK
46, 67, 0, 0
Luminance
0.1912

Every format

HEX#8a55ff
RGBrgb(138, 85, 255)
HSLhsl(259, 100%, 67%)
CMYKcmyk(46%, 67%, 0%, 0%)
LABlab(50.8 59.0 -77.0)
LCHlch(50.8 97.0 307.5)
OKLCHoklch(0.602 0.238 292.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8a55ff on white: 4.35:1
AA ✗ fail · AA-large · AAA
Aa
#8a55ff on black: 4.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green33.3%
Blue100.0%

CMYK percentages

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

Color previews

#8a55ff text on a black background

contrast 4.82:1

Card sample

#8a55ff text on a white background

contrast 4.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8a55ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8a55ff in the Color Lab