Skip to content

#a47fdf

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

RGB
164, 127, 223
HSL
263°, 60%, 69%
CMYK
27, 43, 0, 13
Luminance
0.2840

Every format

HEX#a47fdf
RGBrgb(164, 127, 223)
HSLhsl(263, 60%, 69%)
CMYKcmyk(27%, 43%, 0%, 13%)
LABlab(60.3 33.8 -43.9)
LCHlch(60.3 55.4 307.6)
OKLCHoklch(0.671 0.142 300.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a47fdf on white: 3.14:1
AA ✗ fail · AA-large · AAA
Aa
#a47fdf on black: 6.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green49.8%
Blue87.5%

CMYK percentages

Cyan26.5%
Magenta43.0%
Yellow0.0%
Key (black)12.5%

Color previews

#a47fdf text on a black background

contrast 6.68:1

Card sample

#a47fdf text on a white background

contrast 3.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(164, 127, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 127, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a47fdf;
background: linear-gradient(135deg, #a47fdf, #DF7FDA);

Monochromatic scale

Palettes built from #a47fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a47fdf in the Color Lab