Skip to content

#8f55ff

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

RGB
143, 85, 255
HSL
261°, 100%, 67%
CMYK
44, 67, 0, 0
Luminance
0.1956

Every format

HEX#8f55ff
RGBrgb(143, 85, 255)
HSLhsl(261, 100%, 67%)
CMYKcmyk(44%, 67%, 0%, 0%)
LABlab(51.3 59.9 -76.1)
LCHlch(51.3 96.8 308.2)
OKLCHoklch(0.607 0.238 293.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8f55ff on white: 4.28:1
AA ✗ fail · AA-large · AAA
Aa
#8f55ff on black: 4.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green33.3%
Blue100.0%

CMYK percentages

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

Color previews

#8f55ff text on a black background

contrast 4.91:1

Card sample

#8f55ff text on a white background

contrast 4.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8f55ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8f55ff in the Color Lab