Skip to content

#a37fdf

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

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

Every format

HEX#a37fdf
RGBrgb(163, 127, 223)
HSLhsl(263, 60%, 69%)
CMYKcmyk(27%, 43%, 0%, 13%)
LABlab(60.1 33.5 -44.0)
LCHlch(60.1 55.4 307.3)
OKLCHoklch(0.670 0.142 299.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a37fdf on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#a37fdf on black: 6.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.9%
Green49.8%
Blue87.5%

CMYK percentages

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

Color previews

#a37fdf text on a black background

contrast 6.66:1

Card sample

#a37fdf text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a37fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a37fdf in the Color Lab