Skip to content

#afaff9

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

RGB
175, 175, 249
HSL
240°, 86%, 83%
CMYK
30, 30, 0, 2
Luminance
0.4661

Every format

HEX#afaff9
RGBrgb(175, 175, 249)
HSLhsl(240, 86%, 83%)
CMYKcmyk(30%, 30%, 0%, 2%)
LABlab(73.9 16.2 -36.7)
LCHlch(73.9 40.1 293.9)
OKLCHoklch(0.781 0.105 283.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afaff9 on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#afaff9 on black: 10.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan29.7%
Magenta29.7%
Yellow0.0%
Key (black)2.4%

Color previews

#afaff9 text on a black background

contrast 10.32:1

Card sample

#afaff9 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afaff9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afaff9 in the Color Lab