Skip to content

#a2abf0

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

RGB
162, 171, 240
HSL
233°, 72%, 79%
CMYK
33, 29, 0, 6
Luminance
0.4310

Every format

HEX#a2abf0
RGBrgb(162, 171, 240)
HSLhsl(233, 72%, 79%)
CMYKcmyk(33%, 29%, 0%, 6%)
LABlab(71.6 12.6 -35.5)
LCHlch(71.6 37.6 289.5)
OKLCHoklch(0.760 0.100 278.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan32.5%
Magenta28.8%
Yellow0.0%
Key (black)5.9%

Color previews

#a2abf0 text on a black background

contrast 9.62:1

Card sample

#a2abf0 text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2abf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2abf0 in the Color Lab