Skip to content

#a27dbb

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

RGB
162, 125, 187
HSL
276°, 31%, 61%
CMYK
13, 33, 0, 27
Luminance
0.2594

Every format

HEX#a27dbb
RGBrgb(162, 125, 187)
HSLhsl(276, 31%, 61%)
CMYKcmyk(13%, 33%, 0%, 27%)
LABlab(58.0 26.1 -27.1)
LCHlch(58.0 37.6 313.8)
OKLCHoklch(0.648 0.099 311.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a27dbb on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#a27dbb on black: 6.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green49.0%
Blue73.3%

CMYK percentages

Cyan13.4%
Magenta33.2%
Yellow0.0%
Key (black)26.7%

Color previews

#a27dbb text on a black background

contrast 6.19:1

Card sample

#a27dbb text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a27dbb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a27dbb in the Color Lab