Skip to content

#8f64df

a balanced, vivid violet · warm · closest name: slateblue

RGB
143, 100, 223
HSL
261°, 66%, 63%
CMYK
36, 55, 0, 13
Luminance
0.2028

Every format

HEX#8f64df
RGBrgb(143, 100, 223)
HSLhsl(261, 66%, 63%)
CMYKcmyk(36%, 55%, 0%, 13%)
LABlab(52.1 43.6 -56.9)
LCHlch(52.1 71.7 307.5)
OKLCHoklch(0.606 0.181 296.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8f64df on white: 4.15:1
AA ✗ fail · AA-large · AAA
Aa
#8f64df on black: 5.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green39.2%
Blue87.5%

CMYK percentages

Cyan35.9%
Magenta55.2%
Yellow0.0%
Key (black)12.5%

Color previews

#8f64df text on a black background

contrast 5.06:1

Card sample

#8f64df text on a white background

contrast 4.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8f64df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8f64df in the Color Lab