Skip to content

#bf7ef1

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

RGB
191, 126, 241
HSL
274°, 80%, 72%
CMYK
21, 48, 0, 6
Luminance
0.3235

Every format

HEX#bf7ef1
RGBrgb(191, 126, 241)
HSLhsl(274, 80%, 72%)
CMYKcmyk(21%, 48%, 0%, 6%)
LABlab(63.6 45.9 -48.4)
LCHlch(63.6 66.7 313.5)
OKLCHoklch(0.705 0.173 308.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf7ef1 on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#bf7ef1 on black: 7.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green49.4%
Blue94.5%

CMYK percentages

Cyan20.7%
Magenta47.7%
Yellow0.0%
Key (black)5.5%

Color previews

#bf7ef1 text on a black background

contrast 7.47:1

Card sample

#bf7ef1 text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf7ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf7ef1 in the Color Lab