Skip to content

#bf2eee

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

RGB
191, 46, 238
HSL
285°, 85%, 56%
CMYK
20, 81, 0, 7
Luminance
0.1920

Every format

HEX#bf2eee
RGBrgb(191, 46, 238)
HSLhsl(285, 85%, 56%)
CMYKcmyk(20%, 81%, 0%, 7%)
LABlab(50.9 79.5 -67.0)
LCHlch(50.9 104.0 319.9)
OKLCHoklch(0.613 0.271 315.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf2eee on white: 4.34:1
AA ✗ fail · AA-large · AAA
Aa
#bf2eee on black: 4.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green18.0%
Blue93.3%

CMYK percentages

Cyan19.7%
Magenta80.7%
Yellow0.0%
Key (black)6.7%

Color previews

#bf2eee text on a black background

contrast 4.84:1

Card sample

#bf2eee text on a white background

contrast 4.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf2eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf2eee in the Color Lab