Skip to content

#ac5ace

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

RGB
172, 90, 206
HSL
282°, 54%, 58%
CMYK
17, 56, 0, 19
Luminance
0.2054

Every format

HEX#ac5ace
RGBrgb(172, 90, 206)
HSLhsl(282, 54%, 58%)
CMYKcmyk(17%, 56%, 0%, 19%)
LABlab(52.4 52.1 -46.6)
LCHlch(52.4 69.9 318.2)
OKLCHoklch(0.612 0.184 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac5ace on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#ac5ace on black: 5.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green35.3%
Blue80.8%

CMYK percentages

Cyan16.5%
Magenta56.3%
Yellow0.0%
Key (black)19.2%

Color previews

#ac5ace text on a black background

contrast 5.11:1

Card sample

#ac5ace text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac5ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac5ace in the Color Lab