Skip to content

#af60cd

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

RGB
175, 96, 205
HSL
284°, 52%, 59%
CMYK
15, 53, 0, 20
Luminance
0.2189

Every format

HEX#af60cd
RGBrgb(175, 96, 205)
HSLhsl(284, 52%, 59%)
CMYKcmyk(15%, 53%, 0%, 20%)
LABlab(53.9 49.7 -43.6)
LCHlch(53.9 66.1 318.7)
OKLCHoklch(0.624 0.175 315.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af60cd on white: 3.91:1
AA ✗ fail · AA-large · AAA
Aa
#af60cd on black: 5.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green37.6%
Blue80.4%

CMYK percentages

Cyan14.6%
Magenta53.2%
Yellow0.0%
Key (black)19.6%

Color previews

#af60cd text on a black background

contrast 5.38:1

Card sample

#af60cd text on a white background

contrast 3.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af60cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af60cd in the Color Lab