Skip to content

#af6ccb

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

RGB
175, 108, 203
HSL
282°, 48%, 61%
CMYK
14, 47, 0, 20
Luminance
0.2415

Every format

HEX#af6ccb
RGBrgb(175, 108, 203)
HSLhsl(282, 48%, 61%)
CMYKcmyk(14%, 47%, 0%, 20%)
LABlab(56.2 42.9 -38.8)
LCHlch(56.2 57.9 317.9)
OKLCHoklch(0.640 0.153 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af6ccb on white: 3.60:1
AA ✗ fail · AA-large · AAA
Aa
#af6ccb on black: 5.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green42.4%
Blue79.6%

CMYK percentages

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

Color previews

#af6ccb text on a black background

contrast 5.83:1

Card sample

#af6ccb text on a white background

contrast 3.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af6ccb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af6ccb in the Color Lab