Skip to content

#bfaff4

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

RGB
191, 175, 244
HSL
254°, 76%, 82%
CMYK
22, 28, 0, 4
Luminance
0.4827

Every format

HEX#bfaff4
RGBrgb(191, 175, 244)
HSLhsl(254, 76%, 82%)
CMYKcmyk(22%, 28%, 0%, 4%)
LABlab(75.0 19.7 -32.3)
LCHlch(75.0 37.8 301.4)
OKLCHoklch(0.792 0.098 294.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfaff4 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#bfaff4 on black: 10.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green68.6%
Blue95.7%

CMYK percentages

Cyan21.7%
Magenta28.3%
Yellow0.0%
Key (black)4.3%

Color previews

#bfaff4 text on a black background

contrast 10.65:1

Card sample

#bfaff4 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfaff4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfaff4 in the Color Lab