Skip to content

#bfaff2

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

RGB
191, 175, 242
HSL
254°, 72%, 82%
CMYK
21, 28, 0, 5
Luminance
0.4815

Every format

HEX#bfaff2
RGBrgb(191, 175, 242)
HSLhsl(254, 72%, 82%)
CMYKcmyk(21%, 28%, 0%, 5%)
LABlab(74.9 19.2 -31.3)
LCHlch(74.9 36.7 301.6)
OKLCHoklch(0.791 0.095 295.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfaff2 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#bfaff2 on black: 10.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green68.6%
Blue94.9%

CMYK percentages

Cyan21.1%
Magenta27.7%
Yellow0.0%
Key (black)5.1%

Color previews

#bfaff2 text on a black background

contrast 10.63:1

Card sample

#bfaff2 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfaff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfaff2 in the Color Lab