Skip to content

#afbafd

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

RGB
175, 186, 253
HSL
232°, 95%, 84%
CMYK
31, 27, 0, 1
Luminance
0.5132

Every format

HEX#afbafd
RGBrgb(175, 186, 253)
HSLhsl(232, 95%, 84%)
CMYKcmyk(31%, 27%, 0%, 1%)
LABlab(76.9 11.1 -34.3)
LCHlch(76.9 36.1 288.0)
OKLCHoklch(0.805 0.096 276.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbafd on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#afbafd on black: 11.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.9%
Blue99.2%

CMYK percentages

Cyan30.8%
Magenta26.5%
Yellow0.0%
Key (black)0.8%

Color previews

#afbafd text on a black background

contrast 11.26:1

Card sample

#afbafd text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbafd in the Color Lab