Skip to content

#afaffd

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

RGB
175, 175, 253
HSL
240°, 95%, 84%
CMYK
31, 31, 0, 1
Luminance
0.4687

Every format

HEX#afaffd
RGBrgb(175, 175, 253)
HSLhsl(240, 95%, 84%)
CMYKcmyk(31%, 31%, 0%, 1%)
LABlab(74.1 17.2 -38.6)
LCHlch(74.1 42.3 294.0)
OKLCHoklch(0.783 0.110 283.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afaffd on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#afaffd on black: 10.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green68.6%
Blue99.2%

CMYK percentages

Cyan30.8%
Magenta30.8%
Yellow0.0%
Key (black)0.8%

Color previews

#afaffd text on a black background

contrast 10.37:1

Card sample

#afaffd text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afaffd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afaffd in the Color Lab