Skip to content

#a592f1

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

RGB
165, 146, 241
HSL
252°, 77%, 76%
CMYK
32, 39, 0, 6
Luminance
0.3491

Every format

HEX#a592f1
RGBrgb(165, 146, 241)
HSLhsl(252, 77%, 76%)
CMYKcmyk(32%, 39%, 0%, 6%)
LABlab(65.7 27.8 -45.3)
LCHlch(65.7 53.1 301.5)
OKLCHoklch(0.715 0.137 291.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a592f1 on white: 2.63:1
AA ✗ fail · AA-large · AAA
Aa
#a592f1 on black: 7.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.7%
Green57.3%
Blue94.5%

CMYK percentages

Cyan31.5%
Magenta39.4%
Yellow0.0%
Key (black)5.5%

Color previews

#a592f1 text on a black background

contrast 7.98:1

Card sample

#a592f1 text on a white background

contrast 2.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a592f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a592f1 in the Color Lab