Skip to content

#aa68df

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

RGB
170, 104, 223
HSL
273°, 65%, 64%
CMYK
24, 53, 0, 13
Luminance
0.2377

Every format

HEX#aa68df
RGBrgb(170, 104, 223)
HSLhsl(273, 65%, 64%)
CMYKcmyk(24%, 53%, 0%, 13%)
LABlab(55.9 48.1 -50.8)
LCHlch(55.9 70.0 313.4)
OKLCHoklch(0.640 0.180 307.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa68df on white: 3.65:1
AA ✗ fail · AA-large · AAA
Aa
#aa68df on black: 5.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green40.8%
Blue87.5%

CMYK percentages

Cyan23.8%
Magenta53.4%
Yellow0.0%
Key (black)12.5%

Color previews

#aa68df text on a black background

contrast 5.75:1

Card sample

#aa68df text on a white background

contrast 3.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa68df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa68df in the Color Lab