Skip to content

#af80df

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

RGB
175, 128, 223
HSL
270°, 60%, 69%
CMYK
22, 43, 0, 13
Luminance
0.2988

Every format

HEX#af80df
RGBrgb(175, 128, 223)
HSLhsl(270, 60%, 69%)
CMYKcmyk(22%, 43%, 0%, 13%)
LABlab(61.5 36.4 -41.8)
LCHlch(61.5 55.4 311.1)
OKLCHoklch(0.683 0.143 305.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af80df on white: 3.01:1
AA ✗ fail · AA-large · AAA
Aa
#af80df on black: 6.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green50.2%
Blue87.5%

CMYK percentages

Cyan21.5%
Magenta42.6%
Yellow0.0%
Key (black)12.5%

Color previews

#af80df text on a black background

contrast 6.98:1

Card sample

#af80df text on a white background

contrast 3.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af80df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af80df in the Color Lab