Skip to content

#a2acf0

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

RGB
162, 172, 240
HSL
232°, 72%, 79%
CMYK
33, 28, 0, 6
Luminance
0.4348

Every format

HEX#a2acf0
RGBrgb(162, 172, 240)
HSLhsl(232, 72%, 79%)
CMYKcmyk(33%, 28%, 0%, 6%)
LABlab(71.9 12.0 -35.1)
LCHlch(71.9 37.1 288.9)
OKLCHoklch(0.762 0.098 277.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#a2acf0 text on a black background

contrast 9.70:1

Card sample

#a2acf0 text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2acf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2acf0 in the Color Lab