Skip to content

#b2affc

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

RGB
178, 175, 252
HSL
242°, 93%, 84%
CMYK
29, 31, 0, 1
Luminance
0.4715

Every format

HEX#b2affc
RGBrgb(178, 175, 252)
HSLhsl(242, 93%, 84%)
CMYKcmyk(29%, 31%, 0%, 1%)
LABlab(74.3 17.8 -37.8)
LCHlch(74.3 41.7 295.3)
OKLCHoklch(0.785 0.109 285.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2affc on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#b2affc on black: 10.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green68.6%
Blue98.8%

CMYK percentages

Cyan29.4%
Magenta30.6%
Yellow0.0%
Key (black)1.2%

Color previews

#b2affc text on a black background

contrast 10.43:1

Card sample

#b2affc text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2affc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2affc in the Color Lab