Skip to content

#af60cb

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

RGB
175, 96, 203
HSL
284°, 51%, 59%
CMYK
14, 53, 0, 20
Luminance
0.2179

Every format

HEX#af60cb
RGBrgb(175, 96, 203)
HSLhsl(284, 51%, 59%)
CMYKcmyk(14%, 53%, 0%, 20%)
LABlab(53.8 49.3 -42.7)
LCHlch(53.8 65.2 319.1)
OKLCHoklch(0.622 0.173 316.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af60cb on white: 3.92:1
AA ✗ fail · AA-large · AAA
Aa
#af60cb on black: 5.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green37.6%
Blue79.6%

CMYK percentages

Cyan13.8%
Magenta52.7%
Yellow0.0%
Key (black)20.4%

Color previews

#af60cb text on a black background

contrast 5.36:1

Card sample

#af60cb text on a white background

contrast 3.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af60cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af60cb in the Color Lab