Skip to content

#afbafb

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

RGB
175, 186, 251
HSL
231°, 91%, 84%
CMYK
30, 26, 0, 2
Luminance
0.5120

Every format

HEX#afbafb
RGBrgb(175, 186, 251)
HSLhsl(231, 91%, 84%)
CMYKcmyk(30%, 26%, 0%, 2%)
LABlab(76.8 10.6 -33.3)
LCHlch(76.8 35.0 287.7)
OKLCHoklch(0.804 0.093 276.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbafb on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#afbafb on black: 11.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.9%
Blue98.4%

CMYK percentages

Cyan30.3%
Magenta25.9%
Yellow0.0%
Key (black)1.6%

Color previews

#afbafb text on a black background

contrast 11.24:1

Card sample

#afbafb text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbafb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbafb in the Color Lab