Skip to content

#8c65df

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

RGB
140, 101, 223
HSL
259°, 66%, 64%
CMYK
37, 55, 0, 13
Luminance
0.2021

Every format

HEX#8c65df
RGBrgb(140, 101, 223)
HSLhsl(259, 66%, 64%)
CMYKcmyk(37%, 55%, 0%, 13%)
LABlab(52.1 42.4 -57.0)
LCHlch(52.1 71.0 306.6)
OKLCHoklch(0.605 0.179 295.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8c65df on white: 4.16:1
AA ✗ fail · AA-large · AAA
Aa
#8c65df on black: 5.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green39.6%
Blue87.5%

CMYK percentages

Cyan37.2%
Magenta54.7%
Yellow0.0%
Key (black)12.5%

Color previews

#8c65df text on a black background

contrast 5.04:1

Card sample

#8c65df text on a white background

contrast 4.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8c65df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8c65df in the Color Lab