Skip to content

#af25cc

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

RGB
175, 37, 204
HSL
290°, 69%, 47%
CMYK
14, 82, 0, 20
Luminance
0.1480

Every format

HEX#af25cc
RGBrgb(175, 37, 204)
HSLhsl(290, 69%, 47%)
CMYKcmyk(14%, 82%, 0%, 20%)
LABlab(45.4 73.1 -56.7)
LCHlch(45.4 92.5 322.2)
OKLCHoklch(0.562 0.246 319.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af25cc on white: 5.30:1
AA ✓ pass · AA-large · AAA
Aa
#af25cc on black: 3.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green14.5%
Blue80.0%

CMYK percentages

Cyan14.2%
Magenta81.9%
Yellow0.0%
Key (black)20.0%

Color previews

#af25cc text on a black background

contrast 3.96:1

Card sample

#af25cc text on a white background

contrast 5.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af25cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af25cc in the Color Lab