Skip to content

#afaff8

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

RGB
175, 175, 248
HSL
240°, 84%, 83%
CMYK
29, 29, 0, 3
Luminance
0.4655

Every format

HEX#afaff8
RGBrgb(175, 175, 248)
HSLhsl(240, 84%, 83%)
CMYKcmyk(29%, 29%, 0%, 3%)
LABlab(73.9 16.0 -36.2)
LCHlch(73.9 39.6 293.8)
OKLCHoklch(0.781 0.103 283.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afaff8 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#afaff8 on black: 10.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green68.6%
Blue97.3%

CMYK percentages

Cyan29.4%
Magenta29.4%
Yellow0.0%
Key (black)2.7%

Color previews

#afaff8 text on a black background

contrast 10.31:1

Card sample

#afaff8 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afaff8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afaff8 in the Color Lab