Skip to content

#afb3fb

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

RGB
175, 179, 251
HSL
237°, 91%, 84%
CMYK
30, 29, 0, 2
Luminance
0.4832

Every format

HEX#afb3fb
RGBrgb(175, 179, 251)
HSLhsl(237, 91%, 84%)
CMYKcmyk(30%, 29%, 0%, 2%)
LABlab(75.0 14.5 -36.1)
LCHlch(75.0 38.9 291.9)
OKLCHoklch(0.790 0.102 281.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb3fb on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#afb3fb on black: 10.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green70.2%
Blue98.4%

CMYK percentages

Cyan30.3%
Magenta28.7%
Yellow0.0%
Key (black)1.6%

Color previews

#afb3fb text on a black background

contrast 10.66:1

Card sample

#afb3fb text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb3fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb3fb in the Color Lab