Skip to content

#ac7fdf

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

RGB
172, 127, 223
HSL
268°, 60%, 69%
CMYK
23, 43, 0, 13
Luminance
0.2928

Every format

HEX#ac7fdf
RGBrgb(172, 127, 223)
HSLhsl(268, 60%, 69%)
CMYKcmyk(23%, 43%, 0%, 13%)
LABlab(61.0 36.1 -42.6)
LCHlch(61.0 55.8 310.3)
OKLCHoklch(0.679 0.144 304.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac7fdf on white: 3.06:1
AA ✗ fail · AA-large · AAA
Aa
#ac7fdf on black: 6.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green49.8%
Blue87.5%

CMYK percentages

Cyan22.9%
Magenta43.0%
Yellow0.0%
Key (black)12.5%

Color previews

#ac7fdf text on a black background

contrast 6.86:1

Card sample

#ac7fdf text on a white background

contrast 3.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac7fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac7fdf in the Color Lab