Skip to content

#afb3e2

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

RGB
175, 179, 226
HSL
235°, 47%, 79%
CMYK
23, 21, 0, 11
Luminance
0.4685

Every format

HEX#afb3e2
RGBrgb(175, 179, 226)
HSLhsl(235, 47%, 79%)
CMYKcmyk(23%, 21%, 0%, 11%)
LABlab(74.1 8.5 -24.0)
LCHlch(74.1 25.5 289.6)
OKLCHoklch(0.780 0.067 280.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb3e2 on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#afb3e2 on black: 10.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green70.2%
Blue88.6%

CMYK percentages

Cyan22.6%
Magenta20.8%
Yellow0.0%
Key (black)11.4%

Color previews

#afb3e2 text on a black background

contrast 10.37:1

Card sample

#afb3e2 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb3e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb3e2 in the Color Lab