Skip to content

#a68dbb

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

RGB
166, 141, 187
HSL
273°, 25%, 64%
CMYK
11, 25, 0, 27
Luminance
0.3074

Every format

HEX#a68dbb
RGBrgb(166, 141, 187)
HSLhsl(273, 25%, 64%)
CMYKcmyk(11%, 25%, 0%, 27%)
LABlab(62.3 18.2 -20.5)
LCHlch(62.3 27.4 311.7)
OKLCHoklch(0.682 0.072 309.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a68dbb on white: 2.94:1
AA ✗ fail · AA-large · AAA
Aa
#a68dbb on black: 7.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green55.3%
Blue73.3%

CMYK percentages

Cyan11.2%
Magenta24.6%
Yellow0.0%
Key (black)26.7%

Color previews

#a68dbb text on a black background

contrast 7.15:1

Card sample

#a68dbb text on a white background

contrast 2.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a68dbb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a68dbb in the Color Lab