Skip to content

#b4affc

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

RGB
180, 175, 252
HSL
244°, 93%, 84%
CMYK
29, 31, 0, 1
Luminance
0.4739

Every format

HEX#b4affc
RGBrgb(180, 175, 252)
HSLhsl(244, 93%, 84%)
CMYKcmyk(29%, 31%, 0%, 1%)
LABlab(74.4 18.4 -37.5)
LCHlch(74.4 41.8 296.1)
OKLCHoklch(0.787 0.109 286.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4affc on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#b4affc on black: 10.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green68.6%
Blue98.8%

CMYK percentages

Cyan28.6%
Magenta30.6%
Yellow0.0%
Key (black)1.2%

Color previews

#b4affc text on a black background

contrast 10.48:1

Card sample

#b4affc text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4affc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4affc in the Color Lab