Skip to content

#b92eee

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

RGB
185, 46, 238
HSL
283°, 85%, 56%
CMYK
22, 81, 0, 7
Luminance
0.1844

Every format

HEX#b92eee
RGBrgb(185, 46, 238)
HSLhsl(283, 85%, 56%)
CMYKcmyk(22%, 81%, 0%, 7%)
LABlab(50.0 78.5 -68.5)
LCHlch(50.0 104.2 318.9)
OKLCHoklch(0.605 0.269 314.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b92eee on white: 4.48:1
AA ✗ fail · AA-large · AAA
Aa
#b92eee on black: 4.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green18.0%
Blue93.3%

CMYK percentages

Cyan22.3%
Magenta80.7%
Yellow0.0%
Key (black)6.7%

Color previews

#b92eee text on a black background

contrast 4.69:1

Card sample

#b92eee text on a white background

contrast 4.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b92eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b92eee in the Color Lab