Skip to content

#af3ade

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

RGB
175, 58, 222
HSL
283°, 71%, 55%
CMYK
21, 74, 0, 13
Luminance
0.1741

Every format

HEX#af3ade
RGBrgb(175, 58, 222)
HSLhsl(283, 71%, 55%)
CMYKcmyk(21%, 74%, 0%, 13%)
LABlab(48.8 70.0 -61.5)
LCHlch(48.8 93.2 318.7)
OKLCHoklch(0.590 0.242 314.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3ade on white: 4.68:1
AA ✓ pass · AA-large · AAA
Aa
#af3ade on black: 4.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green22.7%
Blue87.1%

CMYK percentages

Cyan21.2%
Magenta73.9%
Yellow0.0%
Key (black)12.9%

Color previews

#af3ade text on a black background

contrast 4.48:1

Card sample

#af3ade text on a white background

contrast 4.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 58, 222, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 58, 222, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af3ade;
background: linear-gradient(135deg, #af3ade, #DE3AA0);

Monochromatic scale

Palettes built from #af3ade

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af3ade in the Color Lab