Skip to content

#a6acfd

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

RGB
166, 172, 253
HSL
236°, 96%, 82%
CMYK
34, 32, 0, 1
Luminance
0.4470

Every format

HEX#a6acfd
RGBrgb(166, 172, 253)
HSLhsl(236, 96%, 82%)
CMYKcmyk(34%, 32%, 0%, 1%)
LABlab(72.7 16.4 -40.8)
LCHlch(72.7 44.0 291.9)
OKLCHoklch(0.771 0.116 280.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#a6acfd text on a black background

contrast 9.94:1

Card sample

#a6acfd text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a6acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a6acfd in the Color Lab