Skip to content

#ac72cd

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

RGB
172, 114, 205
HSL
278°, 48%, 63%
CMYK
16, 44, 0, 20
Luminance
0.2521

Every format

HEX#ac72cd
RGBrgb(172, 114, 205)
HSLhsl(278, 48%, 63%)
CMYKcmyk(16%, 44%, 0%, 20%)
LABlab(57.3 39.2 -38.4)
LCHlch(57.3 54.9 315.6)
OKLCHoklch(0.648 0.144 312.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac72cd on white: 3.48:1
AA ✗ fail · AA-large · AAA
Aa
#ac72cd on black: 6.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green44.7%
Blue80.4%

CMYK percentages

Cyan16.1%
Magenta44.4%
Yellow0.0%
Key (black)19.6%

Color previews

#ac72cd text on a black background

contrast 6.04:1

Card sample

#ac72cd text on a white background

contrast 3.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac72cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac72cd in the Color Lab