Skip to content

#ac9af0

a light, vivid blue · warm · closest name: plum

RGB
172, 154, 240
HSL
253°, 74%, 77%
CMYK
28, 36, 0, 6
Luminance
0.3817

Every format

HEX#ac9af0
RGBrgb(172, 154, 240)
HSLhsl(253, 74%, 77%)
CMYKcmyk(28%, 36%, 0%, 6%)
LABlab(68.2 24.9 -40.8)
LCHlch(68.2 47.8 301.4)
OKLCHoklch(0.735 0.123 292.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac9af0 on white: 2.43:1
AA ✗ fail · AA-large · AAA
Aa
#ac9af0 on black: 8.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green60.4%
Blue94.1%

CMYK percentages

Cyan28.3%
Magenta35.8%
Yellow0.0%
Key (black)5.9%

Color previews

#ac9af0 text on a black background

contrast 8.63:1

Card sample

#ac9af0 text on a white background

contrast 2.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 154, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 154, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac9af0;
background: linear-gradient(135deg, #ac9af0, #E59AF0);

Monochromatic scale

Palettes built from #ac9af0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac9af0 in the Color Lab