Skip to content

#a681af

a balanced, soft violet · warm · closest name: plum

RGB
166, 129, 175
HSL
288°, 22%, 60%
CMYK
5, 26, 0, 31
Luminance
0.2690

Every format

HEX#a681af
RGBrgb(166, 129, 175)
HSLhsl(288, 22%, 60%)
CMYKcmyk(5%, 26%, 0%, 31%)
LABlab(58.9 22.6 -18.9)
LCHlch(58.9 29.4 320.1)
OKLCHoklch(0.654 0.079 319.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a681af on white: 3.29:1
AA ✗ fail · AA-large · AAA
Aa
#a681af on black: 6.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green50.6%
Blue68.6%

CMYK percentages

Cyan5.1%
Magenta26.3%
Yellow0.0%
Key (black)31.4%

Color previews

#a681af text on a black background

contrast 6.38:1

Card sample

#a681af text on a white background

contrast 3.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a681af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a681af in the Color Lab