Skip to content

#b92df3

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

RGB
185, 45, 243
HSL
282°, 89%, 57%
CMYK
24, 82, 0, 5
Luminance
0.1866

Every format

HEX#b92df3
RGBrgb(185, 45, 243)
HSLhsl(282, 89%, 57%)
CMYKcmyk(24%, 82%, 0%, 5%)
LABlab(50.3 79.7 -70.9)
LCHlch(50.3 106.7 318.4)
OKLCHoklch(0.608 0.274 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b92df3 on white: 4.44:1
AA ✗ fail · AA-large · AAA
Aa
#b92df3 on black: 4.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green17.6%
Blue95.3%

CMYK percentages

Cyan23.9%
Magenta81.5%
Yellow0.0%
Key (black)4.7%

Color previews

#b92df3 text on a black background

contrast 4.73:1

Card sample

#b92df3 text on a white background

contrast 4.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b92df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b92df3 in the Color Lab