Skip to content

#ac35db

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

RGB
172, 53, 219
HSL
283°, 70%, 53%
CMYK
22, 76, 0, 14
Luminance
0.1643

Every format

HEX#ac35db
RGBrgb(172, 53, 219)
HSLhsl(283, 70%, 53%)
CMYKcmyk(22%, 76%, 0%, 14%)
LABlab(47.5 70.6 -61.9)
LCHlch(47.5 93.8 318.8)
OKLCHoklch(0.579 0.243 314.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green20.8%
Blue85.9%

CMYK percentages

Cyan21.5%
Magenta75.8%
Yellow0.0%
Key (black)14.1%

Color previews

#ac35db text on a black background

contrast 4.29:1

Card sample

#ac35db text on a white background

contrast 4.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac35db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac35db in the Color Lab