Skip to content

#a48df4

a light, electric blue · warm · closest name: slateblue

RGB
164, 141, 244
HSL
253°, 82%, 76%
CMYK
33, 42, 0, 4
Luminance
0.3347

Every format

HEX#a48df4
RGBrgb(164, 141, 244)
HSLhsl(253, 82%, 76%)
CMYKcmyk(33%, 42%, 0%, 4%)
LABlab(64.5 31.1 -48.7)
LCHlch(64.5 57.8 302.6)
OKLCHoklch(0.707 0.148 292.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a48df4 on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#a48df4 on black: 7.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green55.3%
Blue95.7%

CMYK percentages

Cyan32.8%
Magenta42.2%
Yellow0.0%
Key (black)4.3%

Color previews

#a48df4 text on a black background

contrast 7.69:1

Card sample

#a48df4 text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a48df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a48df4 in the Color Lab