Skip to content

#a2acef

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

RGB
162, 172, 239
HSL
232°, 71%, 79%
CMYK
32, 28, 0, 6
Luminance
0.4342

Every format

HEX#a2acef
RGBrgb(162, 172, 239)
HSLhsl(232, 71%, 79%)
CMYKcmyk(32%, 28%, 0%, 6%)
LABlab(71.8 11.8 -34.6)
LCHlch(71.8 36.5 288.8)
OKLCHoklch(0.761 0.097 277.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2acef on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#a2acef on black: 9.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green67.5%
Blue93.7%

CMYK percentages

Cyan32.2%
Magenta28.0%
Yellow0.0%
Key (black)6.3%

Color previews

#a2acef text on a black background

contrast 9.68:1

Card sample

#a2acef text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2acef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2acef in the Color Lab