Skip to content

#aa65df

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

RGB
170, 101, 223
HSL
274°, 66%, 64%
CMYK
24, 55, 0, 13
Luminance
0.2318

Every format

HEX#aa65df
RGBrgb(170, 101, 223)
HSLhsl(274, 66%, 64%)
CMYKcmyk(24%, 55%, 0%, 13%)
LABlab(55.3 49.7 -51.8)
LCHlch(55.3 71.7 313.8)
OKLCHoklch(0.635 0.185 308.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa65df on white: 3.73:1
AA ✗ fail · AA-large · AAA
Aa
#aa65df on black: 5.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green39.6%
Blue87.5%

CMYK percentages

Cyan23.8%
Magenta54.7%
Yellow0.0%
Key (black)12.5%

Color previews

#aa65df text on a black background

contrast 5.64:1

Card sample

#aa65df text on a white background

contrast 3.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa65df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa65df in the Color Lab