Skip to content

#8f64eb

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

RGB
143, 100, 235
HSL
259°, 77%, 66%
CMYK
39, 57, 0, 8
Luminance
0.2095

Every format

HEX#8f64eb
RGBrgb(143, 100, 235)
HSLhsl(259, 77%, 66%)
CMYKcmyk(39%, 57%, 0%, 8%)
LABlab(52.9 46.8 -62.4)
LCHlch(52.9 78.0 306.8)
OKLCHoklch(0.614 0.195 294.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8f64eb on white: 4.05:1
AA ✗ fail · AA-large · AAA
Aa
#8f64eb on black: 5.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green39.2%
Blue92.2%

CMYK percentages

Cyan39.1%
Magenta57.4%
Yellow0.0%
Key (black)7.8%

Color previews

#8f64eb text on a black background

contrast 5.19:1

Card sample

#8f64eb text on a white background

contrast 4.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8f64eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8f64eb in the Color Lab