Skip to content

#b2afda

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

RGB
178, 175, 218
HSL
244°, 37%, 77%
CMYK
18, 20, 0, 15
Luminance
0.4519

Every format

HEX#b2afda
RGBrgb(178, 175, 218)
HSLhsl(244, 37%, 77%)
CMYKcmyk(18%, 20%, 0%, 15%)
LABlab(73.0 9.8 -21.3)
LCHlch(73.0 23.4 294.9)
OKLCHoklch(0.771 0.061 288.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2afda on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#b2afda on black: 10.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green68.6%
Blue85.5%

CMYK percentages

Cyan18.3%
Magenta19.7%
Yellow0.0%
Key (black)14.5%

Color previews

#b2afda text on a black background

contrast 10.04:1

Card sample

#b2afda text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2afda

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2afda in the Color Lab