Skip to content

#afaafd

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

RGB
175, 170, 253
HSL
244°, 95%, 83%
CMYK
31, 33, 0, 1
Luminance
0.4496

Every format

HEX#afaafd
RGBrgb(175, 170, 253)
HSLhsl(244, 95%, 83%)
CMYKcmyk(31%, 33%, 0%, 1%)
LABlab(72.9 20.0 -40.5)
LCHlch(72.9 45.2 296.3)
OKLCHoklch(0.774 0.117 286.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afaafd on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#afaafd on black: 9.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green66.7%
Blue99.2%

CMYK percentages

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

Color previews

#afaafd text on a black background

contrast 9.99:1

Card sample

#afaafd text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afaafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afaafd in the Color Lab