Skip to content

#a592f4

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

RGB
165, 146, 244
HSL
252°, 82%, 77%
CMYK
32, 40, 0, 4
Luminance
0.3509

Every format

HEX#a592f4
RGBrgb(165, 146, 244)
HSLhsl(252, 82%, 77%)
CMYKcmyk(32%, 40%, 0%, 4%)
LABlab(65.8 28.5 -46.7)
LCHlch(65.8 54.8 301.4)
OKLCHoklch(0.717 0.141 291.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a592f4 on white: 2.62:1
AA ✗ fail · AA-large · AAA
Aa
#a592f4 on black: 8.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.7%
Green57.3%
Blue95.7%

CMYK percentages

Cyan32.4%
Magenta40.2%
Yellow0.0%
Key (black)4.3%

Color previews

#a592f4 text on a black background

contrast 8.02:1

Card sample

#a592f4 text on a white background

contrast 2.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a592f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a592f4 in the Color Lab