Skip to content

#af60cf

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

RGB
175, 96, 207
HSL
283°, 54%, 59%
CMYK
16, 54, 0, 19
Luminance
0.2198

Every format

HEX#af60cf
RGBrgb(175, 96, 207)
HSLhsl(283, 54%, 59%)
CMYKcmyk(16%, 54%, 0%, 19%)
LABlab(54.0 50.1 -44.6)
LCHlch(54.0 67.1 318.3)
OKLCHoklch(0.625 0.177 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af60cf on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#af60cf on black: 5.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green37.6%
Blue81.2%

CMYK percentages

Cyan15.5%
Magenta53.6%
Yellow0.0%
Key (black)18.8%

Color previews

#af60cf text on a black background

contrast 5.40:1

Card sample

#af60cf text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af60cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af60cf in the Color Lab