Skip to content

#af80db

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

RGB
175, 128, 219
HSL
271°, 56%, 68%
CMYK
20, 42, 0, 14
Luminance
0.2967

Every format

HEX#af80db
RGBrgb(175, 128, 219)
HSLhsl(271, 56%, 68%)
CMYKcmyk(20%, 42%, 0%, 14%)
LABlab(61.4 35.5 -39.8)
LCHlch(61.4 53.3 311.7)
OKLCHoklch(0.681 0.138 306.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af80db on white: 3.03:1
AA ✗ fail · AA-large · AAA
Aa
#af80db on black: 6.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green50.2%
Blue85.9%

CMYK percentages

Cyan20.1%
Magenta41.6%
Yellow0.0%
Key (black)14.1%

Color previews

#af80db text on a black background

contrast 6.93:1

Card sample

#af80db text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af80db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af80db in the Color Lab