Skip to content

#afb2e2

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

RGB
175, 178, 226
HSL
237°, 47%, 79%
CMYK
23, 21, 0, 11
Luminance
0.4645

Every format

HEX#afb2e2
RGBrgb(175, 178, 226)
HSLhsl(237, 47%, 79%)
CMYKcmyk(23%, 21%, 0%, 11%)
LABlab(73.8 9.1 -24.4)
LCHlch(73.8 26.0 290.4)
OKLCHoklch(0.778 0.068 281.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb2e2 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#afb2e2 on black: 10.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green69.8%
Blue88.6%

CMYK percentages

Cyan22.6%
Magenta21.2%
Yellow0.0%
Key (black)11.4%

Color previews

#afb2e2 text on a black background

contrast 10.29:1

Card sample

#afb2e2 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb2e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb2e2 in the Color Lab