Skip to content

#afb4ed

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

RGB
175, 180, 237
HSL
235°, 63%, 81%
CMYK
26, 24, 0, 7
Luminance
0.4787

Every format

HEX#afb4ed
RGBrgb(175, 180, 237)
HSLhsl(235, 63%, 81%)
CMYKcmyk(26%, 24%, 0%, 7%)
LABlab(74.7 10.6 -29.0)
LCHlch(74.7 30.8 290.0)
OKLCHoklch(0.786 0.081 280.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb4ed on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#afb4ed on black: 10.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green70.6%
Blue92.9%

CMYK percentages

Cyan26.2%
Magenta24.1%
Yellow0.0%
Key (black)7.1%

Color previews

#afb4ed text on a black background

contrast 10.57:1

Card sample

#afb4ed text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb4ed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb4ed in the Color Lab