Skip to content

#bf3df2

a balanced, electric violet · warm · closest name: magenta

RGB
191, 61, 242
HSL
283°, 87%, 59%
CMYK
21, 75, 0, 5
Luminance
0.2082

Every format

HEX#bf3df2
RGBrgb(191, 61, 242)
HSLhsl(283, 87%, 59%)
CMYKcmyk(21%, 75%, 0%, 5%)
LABlab(52.8 75.7 -66.3)
LCHlch(52.8 100.7 318.8)
OKLCHoklch(0.627 0.261 314.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf3df2 on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#bf3df2 on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green23.9%
Blue94.9%

CMYK percentages

Cyan21.1%
Magenta74.8%
Yellow0.0%
Key (black)5.1%

Color previews

#bf3df2 text on a black background

contrast 5.16:1

Card sample

#bf3df2 text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf3df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf3df2 in the Color Lab