Skip to content

#ac4cd0

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

RGB
172, 76, 208
HSL
284°, 58%, 56%
CMYK
17, 64, 0, 18
Luminance
0.1849

Every format

HEX#ac4cd0
RGBrgb(172, 76, 208)
HSLhsl(284, 58%, 56%)
CMYKcmyk(17%, 64%, 0%, 18%)
LABlab(50.1 59.2 -51.5)
LCHlch(50.1 78.5 319.0)
OKLCHoklch(0.595 0.206 315.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac4cd0 on white: 4.47:1
AA ✗ fail · AA-large · AAA
Aa
#ac4cd0 on black: 4.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green29.8%
Blue81.6%

CMYK percentages

Cyan17.3%
Magenta63.5%
Yellow0.0%
Key (black)18.4%

Color previews

#ac4cd0 text on a black background

contrast 4.70:1

Card sample

#ac4cd0 text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4cd0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac4cd0 in the Color Lab