Skip to content

#a6acff

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

RGB
166, 172, 255
HSL
236°, 100%, 83%
CMYK
35, 33, 0, 0
Luminance
0.4483

Every format

HEX#a6acff
RGBrgb(166, 172, 255)
HSLhsl(236, 100%, 83%)
CMYKcmyk(35%, 33%, 0%, 0%)
LABlab(72.8 16.9 -41.8)
LCHlch(72.8 45.1 292.1)
OKLCHoklch(0.772 0.118 280.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red65.1%
Green67.5%
Blue100.0%

CMYK percentages

Cyan34.9%
Magenta32.5%
Yellow0.0%
Key (black)0.0%

Color previews

#a6acff text on a black background

contrast 9.97:1

Card sample

#a6acff text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a6acff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a6acff in the Color Lab