Skip to content

#a7acfd

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

RGB
167, 172, 253
HSL
237°, 96%, 82%
CMYK
34, 32, 0, 1
Luminance
0.4481

Every format

HEX#a7acfd
RGBrgb(167, 172, 253)
HSLhsl(237, 96%, 82%)
CMYKcmyk(34%, 32%, 0%, 1%)
LABlab(72.8 16.7 -40.7)
LCHlch(72.8 44.0 292.3)
OKLCHoklch(0.771 0.116 280.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red65.5%
Green67.5%
Blue99.2%

CMYK percentages

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

Color previews

#a7acfd text on a black background

contrast 9.96:1

Card sample

#a7acfd text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a7acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a7acfd in the Color Lab