Skip to content

#a2abf1

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

RGB
162, 171, 241
HSL
233°, 74%, 79%
CMYK
33, 29, 0, 6
Luminance
0.4316

Every format

HEX#a2abf1
RGBrgb(162, 171, 241)
HSLhsl(233, 74%, 79%)
CMYKcmyk(33%, 29%, 0%, 6%)
LABlab(71.7 12.8 -36.0)
LCHlch(71.7 38.2 289.6)
OKLCHoklch(0.760 0.101 278.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2abf1 on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#a2abf1 on black: 9.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green67.1%
Blue94.5%

CMYK percentages

Cyan32.8%
Magenta29.0%
Yellow0.0%
Key (black)5.5%

Color previews

#a2abf1 text on a black background

contrast 9.63:1

Card sample

#a2abf1 text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2abf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2abf1 in the Color Lab