Skip to content

#af6acb

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

RGB
175, 106, 203
HSL
283°, 48%, 61%
CMYK
14, 48, 0, 20
Luminance
0.2373

Every format

HEX#af6acb
RGBrgb(175, 106, 203)
HSLhsl(283, 48%, 61%)
CMYKcmyk(14%, 48%, 0%, 20%)
LABlab(55.8 44.0 -39.5)
LCHlch(55.8 59.1 318.1)
OKLCHoklch(0.637 0.157 315.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af6acb on white: 3.65:1
AA ✗ fail · AA-large · AAA
Aa
#af6acb on black: 5.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green41.6%
Blue79.6%

CMYK percentages

Cyan13.8%
Magenta47.8%
Yellow0.0%
Key (black)20.4%

Color previews

#af6acb text on a black background

contrast 5.75:1

Card sample

#af6acb text on a white background

contrast 3.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af6acb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af6acb in the Color Lab