Skip to content

#af82db

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

RGB
175, 130, 219
HSL
270°, 55%, 68%
CMYK
20, 41, 0, 14
Luminance
0.3019

Every format

HEX#af82db
RGBrgb(175, 130, 219)
HSLhsl(270, 55%, 68%)
CMYKcmyk(20%, 41%, 0%, 14%)
LABlab(61.8 34.3 -39.1)
LCHlch(61.8 52.0 311.3)
OKLCHoklch(0.685 0.135 306.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af82db on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#af82db on black: 7.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green51.0%
Blue85.9%

CMYK percentages

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

Color previews

#af82db text on a black background

contrast 7.04:1

Card sample

#af82db text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af82db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af82db in the Color Lab