Skip to content

#a2adfd

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

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

Every format

HEX#a2adfd
RGBrgb(162, 173, 253)
HSLhsl(233, 96%, 81%)
CMYKcmyk(36%, 32%, 0%, 1%)
LABlab(72.7 14.8 -40.9)
LCHlch(72.7 43.5 289.9)
OKLCHoklch(0.770 0.115 277.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2adfd on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#a2adfd on black: 9.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan36.0%
Magenta31.6%
Yellow0.0%
Key (black)0.8%

Color previews

#a2adfd text on a black background

contrast 9.93:1

Card sample

#a2adfd text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2adfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2adfd in the Color Lab