Skip to content

#a2acfd

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

RGB
162, 172, 253
HSL
233°, 96%, 81%
CMYK
36, 32, 0, 1
Luminance
0.4428

Every format

HEX#a2acfd
RGBrgb(162, 172, 253)
HSLhsl(233, 96%, 81%)
CMYKcmyk(36%, 32%, 0%, 1%)
LABlab(72.4 15.3 -41.3)
LCHlch(72.4 44.0 290.4)
OKLCHoklch(0.768 0.116 277.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2acfd on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#a2acfd on black: 9.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green67.5%
Blue99.2%

CMYK percentages

Cyan36.0%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#a2acfd text on a black background

contrast 9.86:1

Card sample

#a2acfd text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2acfd in the Color Lab