Skip to content

#b3affc

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

RGB
179, 175, 252
HSL
243°, 93%, 84%
CMYK
29, 31, 0, 1
Luminance
0.4727

Every format

HEX#b3affc
RGBrgb(179, 175, 252)
HSLhsl(243, 93%, 84%)
CMYKcmyk(29%, 31%, 0%, 1%)
LABlab(74.4 18.1 -37.6)
LCHlch(74.4 41.7 295.7)
OKLCHoklch(0.786 0.109 286.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#b3affc text on a black background

contrast 10.45:1

Card sample

#b3affc text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3affc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3affc in the Color Lab