Skip to content

#ac4cd4

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

RGB
172, 76, 212
HSL
282°, 61%, 57%
CMYK
19, 64, 0, 17
Luminance
0.1869

Every format

HEX#ac4cd4
RGBrgb(172, 76, 212)
HSLhsl(282, 61%, 57%)
CMYKcmyk(19%, 64%, 0%, 17%)
LABlab(50.3 60.0 -53.4)
LCHlch(50.3 80.3 318.4)
OKLCHoklch(0.598 0.210 314.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac4cd4 on white: 4.43:1
AA ✗ fail · AA-large · AAA
Aa
#ac4cd4 on black: 4.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green29.8%
Blue83.1%

CMYK percentages

Cyan18.9%
Magenta64.2%
Yellow0.0%
Key (black)16.9%

Color previews

#ac4cd4 text on a black background

contrast 4.74:1

Card sample

#ac4cd4 text on a white background

contrast 4.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4cd4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac4cd4 in the Color Lab