Skip to content

#bf9df2

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

RGB
191, 157, 242
HSL
264°, 77%, 78%
CMYK
21, 35, 0, 5
Luminance
0.4160

Every format

HEX#bf9df2
RGBrgb(191, 157, 242)
HSLhsl(264, 77%, 78%)
CMYKcmyk(21%, 35%, 0%, 5%)
LABlab(70.6 29.2 -38.0)
LCHlch(70.6 47.9 307.6)
OKLCHoklch(0.758 0.124 301.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf9df2 on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#bf9df2 on black: 9.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green61.6%
Blue94.9%

CMYK percentages

Cyan21.1%
Magenta35.1%
Yellow0.0%
Key (black)5.1%

Color previews

#bf9df2 text on a black background

contrast 9.32:1

Card sample

#bf9df2 text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf9df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf9df2 in the Color Lab