Skip to content

#bfacf2

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

RGB
191, 172, 242
HSL
256°, 73%, 81%
CMYK
21, 29, 0, 5
Luminance
0.4699

Every format

HEX#bfacf2
RGBrgb(191, 172, 242)
HSLhsl(256, 73%, 81%)
CMYKcmyk(21%, 29%, 0%, 5%)
LABlab(74.2 20.9 -32.4)
LCHlch(74.2 38.6 302.8)
OKLCHoklch(0.785 0.100 296.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfacf2 on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#bfacf2 on black: 10.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green67.5%
Blue94.9%

CMYK percentages

Cyan21.1%
Magenta28.9%
Yellow0.0%
Key (black)5.1%

Color previews

#bfacf2 text on a black background

contrast 10.40:1

Card sample

#bfacf2 text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfacf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfacf2 in the Color Lab