Skip to content

#a475df

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

RGB
164, 117, 223
HSL
267°, 62%, 67%
CMYK
27, 48, 0, 13
Luminance
0.2594

Every format

HEX#a475df
RGBrgb(164, 117, 223)
HSLhsl(267, 62%, 67%)
CMYKcmyk(27%, 48%, 0%, 13%)
LABlab(58.0 39.5 -47.5)
LCHlch(58.0 61.7 309.7)
OKLCHoklch(0.654 0.158 302.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red64.3%
Green45.9%
Blue87.5%

CMYK percentages

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

Color previews

#a475df text on a black background

contrast 6.19:1

Card sample

#a475df text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a475df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a475df in the Color Lab