Skip to content

#afb4fd

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

RGB
175, 180, 253
HSL
236°, 95%, 84%
CMYK
31, 29, 0, 1
Luminance
0.4885

Every format

HEX#afb4fd
RGBrgb(175, 180, 253)
HSLhsl(236, 95%, 84%)
CMYKcmyk(31%, 29%, 0%, 1%)
LABlab(75.4 14.4 -36.6)
LCHlch(75.4 39.4 291.5)
OKLCHoklch(0.793 0.103 280.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb4fd on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#afb4fd on black: 10.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green70.6%
Blue99.2%

CMYK percentages

Cyan30.8%
Magenta28.9%
Yellow0.0%
Key (black)0.8%

Color previews

#afb4fd text on a black background

contrast 10.77:1

Card sample

#afb4fd text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb4fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb4fd in the Color Lab