Skip to content

#a65df4

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

RGB
166, 93, 244
HSL
269°, 87%, 66%
CMYK
32, 62, 0, 4
Luminance
0.2247

Every format

HEX#a65df4
RGBrgb(166, 93, 244)
HSLhsl(269, 87%, 66%)
CMYKcmyk(32%, 62%, 0%, 4%)
LABlab(54.5 57.7 -64.7)
LCHlch(54.5 86.7 311.7)
OKLCHoklch(0.633 0.218 302.9)

Copy-ready code

/* CSS */
color: #a65df4;
background-color: #a65df4;
/* Tailwind (arbitrary) */
class="text-[#a65df4] bg-[#a65df4]"
/* SCSS */
$brand: #a65df4;
/* SwiftUI */
Color(red: 0.651, green: 0.365, blue: 0.957)
/* Android */
Color.parseColor("#a65df4")

Accessibility — WCAG contrast

Aa
#a65df4 on white: 3.82:1
AA ✗ fail · AA-large · AAA
Aa
#a65df4 on black: 5.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green36.5%
Blue95.7%

CMYK percentages

Cyan32.0%
Magenta61.9%
Yellow0.0%
Key (black)4.3%

Color previews

#a65df4 text on a black background

contrast 5.49:1

Card sample

#a65df4 text on a white background

contrast 3.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(166, 93, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 93, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a65df4;
background: linear-gradient(135deg, #a65df4, #F45DDD);

Monochromatic scale

Palettes built from #a65df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a65df4 in the Color Lab