Skip to content

#afaff1

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

RGB
175, 175, 241
HSL
240°, 70%, 82%
CMYK
27, 27, 0, 6
Luminance
0.4612

Every format

HEX#afaff1
RGBrgb(175, 175, 241)
HSLhsl(240, 70%, 82%)
CMYKcmyk(27%, 27%, 0%, 6%)
LABlab(73.6 14.3 -32.8)
LCHlch(73.6 35.8 293.5)
OKLCHoklch(0.778 0.094 284.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afaff1 on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#afaff1 on black: 10.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green68.6%
Blue94.5%

CMYK percentages

Cyan27.4%
Magenta27.4%
Yellow0.0%
Key (black)5.5%

Color previews

#afaff1 text on a black background

contrast 10.22:1

Card sample

#afaff1 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 175, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 175, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afaff1;
background: linear-gradient(135deg, #afaff1, #DBAFF1);

Monochromatic scale

Palettes built from #afaff1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afaff1 in the Color Lab