Skip to content

#8055ff

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

RGB
128, 85, 255
HSL
255°, 100%, 67%
CMYK
50, 67, 0, 0
Luminance
0.1831

Every format

HEX#8055ff
RGBrgb(128, 85, 255)
HSLhsl(255, 100%, 67%)
CMYKcmyk(50%, 67%, 0%, 0%)
LABlab(49.9 57.3 -78.6)
LCHlch(49.9 97.2 306.1)
OKLCHoklch(0.593 0.238 288.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8055ff on white: 4.51:1
AA ✓ pass · AA-large · AAA
Aa
#8055ff on black: 4.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green33.3%
Blue100.0%

CMYK percentages

Cyan49.8%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#8055ff text on a black background

contrast 4.66:1

Card sample

#8055ff text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8055ff;
Background color
Panel with #8055ff background
background-color: #8055ff;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8055ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8055ff in the Color Lab