Skip to content

#a2acfb

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

RGB
162, 172, 251
HSL
233°, 92%, 81%
CMYK
36, 32, 0, 2
Luminance
0.4415

Every format

HEX#a2acfb
RGBrgb(162, 172, 251)
HSLhsl(233, 92%, 81%)
CMYKcmyk(36%, 32%, 0%, 2%)
LABlab(72.3 14.8 -40.3)
LCHlch(72.3 43.0 290.2)
OKLCHoklch(0.767 0.114 277.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2acfb on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#a2acfb on black: 9.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green67.5%
Blue98.4%

CMYK percentages

Cyan35.5%
Magenta31.5%
Yellow0.0%
Key (black)1.6%

Color previews

#a2acfb text on a black background

contrast 9.83:1

Card sample

#a2acfb text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2acfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2acfb in the Color Lab