Skip to content

#8f65df

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

RGB
143, 101, 223
HSL
261°, 66%, 64%
CMYK
36, 55, 0, 13
Luminance
0.2047

Every format

HEX#8f65df
RGBrgb(143, 101, 223)
HSLhsl(261, 66%, 64%)
CMYKcmyk(36%, 55%, 0%, 13%)
LABlab(52.4 43.1 -56.5)
LCHlch(52.4 71.1 307.3)
OKLCHoklch(0.607 0.179 296.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8f65df on white: 4.12:1
AA ✗ fail · AA-large · AAA
Aa
#8f65df on black: 5.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green39.6%
Blue87.5%

CMYK percentages

Cyan35.9%
Magenta54.7%
Yellow0.0%
Key (black)12.5%

Color previews

#8f65df text on a black background

contrast 5.09:1

Card sample

#8f65df text on a white background

contrast 4.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8f65df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8f65df in the Color Lab