Skip to content

#ac64c3

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

RGB
172, 100, 195
HSL
286°, 44%, 58%
CMYK
12, 49, 0, 24
Luminance
0.2183

Every format

HEX#ac64c3
RGBrgb(172, 100, 195)
HSLhsl(286, 44%, 58%)
CMYKcmyk(12%, 49%, 0%, 24%)
LABlab(53.8 44.7 -38.1)
LCHlch(53.8 58.7 319.6)
OKLCHoklch(0.621 0.156 317.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac64c3 on white: 3.91:1
AA ✗ fail · AA-large · AAA
Aa
#ac64c3 on black: 5.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green39.2%
Blue76.5%

CMYK percentages

Cyan11.8%
Magenta48.7%
Yellow0.0%
Key (black)23.5%

Color previews

#ac64c3 text on a black background

contrast 5.37:1

Card sample

#ac64c3 text on a white background

contrast 3.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac64c3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac64c3 in the Color Lab