Skip to content

#ac4fdb

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

RGB
172, 79, 219
HSL
280°, 66%, 58%
CMYK
22, 64, 0, 14
Luminance
0.1948

Every format

HEX#ac4fdb
RGBrgb(172, 79, 219)
HSLhsl(280, 66%, 58%)
CMYKcmyk(22%, 64%, 0%, 14%)
LABlab(51.2 60.1 -55.9)
LCHlch(51.2 82.1 317.1)
OKLCHoklch(0.606 0.213 312.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac4fdb on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#ac4fdb on black: 4.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green31.0%
Blue85.9%

CMYK percentages

Cyan21.5%
Magenta63.9%
Yellow0.0%
Key (black)14.1%

Color previews

#ac4fdb text on a black background

contrast 4.90:1

Card sample

#ac4fdb text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4fdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac4fdb in the Color Lab