Skip to content

#bfaffb

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

RGB
191, 175, 251
HSL
253°, 91%, 84%
CMYK
24, 30, 0, 2
Luminance
0.4870

Every format

HEX#bfaffb
RGBrgb(191, 175, 251)
HSLhsl(253, 91%, 84%)
CMYKcmyk(24%, 30%, 0%, 2%)
LABlab(75.3 21.3 -35.6)
LCHlch(75.3 41.5 300.9)
OKLCHoklch(0.795 0.107 293.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfaffb on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#bfaffb on black: 10.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green68.6%
Blue98.4%

CMYK percentages

Cyan23.9%
Magenta30.3%
Yellow0.0%
Key (black)1.6%

Color previews

#bfaffb text on a black background

contrast 10.74:1

Card sample

#bfaffb text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfaffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfaffb in the Color Lab