Skip to content

#a482df

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

RGB
164, 130, 223
HSL
262°, 59%, 69%
CMYK
27, 42, 0, 13
Luminance
0.2919

Every format

HEX#a482df
RGBrgb(164, 130, 223)
HSLhsl(262, 59%, 69%)
CMYKcmyk(27%, 42%, 0%, 13%)
LABlab(60.9 32.1 -42.8)
LCHlch(60.9 53.5 306.9)
OKLCHoklch(0.676 0.137 299.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a482df on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#a482df on black: 6.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green51.0%
Blue87.5%

CMYK percentages

Cyan26.5%
Magenta41.7%
Yellow0.0%
Key (black)12.5%

Color previews

#a482df text on a black background

contrast 6.84:1

Card sample

#a482df text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a482df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a482df in the Color Lab