Skip to content

#af6cda

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

RGB
175, 108, 218
HSL
277°, 60%, 64%
CMYK
20, 51, 0, 15
Luminance
0.2490

Every format

HEX#af6cda
RGBrgb(175, 108, 218)
HSLhsl(277, 60%, 64%)
CMYKcmyk(20%, 51%, 0%, 15%)
LABlab(57.0 46.2 -46.2)
LCHlch(57.0 65.3 315.0)
OKLCHoklch(0.648 0.170 310.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af6cda on white: 3.51:1
AA ✗ fail · AA-large · AAA
Aa
#af6cda on black: 5.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green42.4%
Blue85.5%

CMYK percentages

Cyan19.7%
Magenta50.5%
Yellow0.0%
Key (black)14.5%

Color previews

#af6cda text on a black background

contrast 5.98:1

Card sample

#af6cda text on a white background

contrast 3.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af6cda

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af6cda in the Color Lab