Skip to content

#b92fdf

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

RGB
185, 47, 223
HSL
287°, 73%, 53%
CMYK
17, 79, 0, 13
Luminance
0.1768

Every format

HEX#b92fdf
RGBrgb(185, 47, 223)
HSLhsl(287, 73%, 53%)
CMYKcmyk(17%, 79%, 0%, 13%)
LABlab(49.1 75.5 -61.5)
LCHlch(49.1 97.4 320.8)
OKLCHoklch(0.595 0.257 317.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b92fdf on white: 4.63:1
AA ✓ pass · AA-large · AAA
Aa
#b92fdf on black: 4.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green18.4%
Blue87.5%

CMYK percentages

Cyan17.0%
Magenta78.9%
Yellow0.0%
Key (black)12.5%

Color previews

#b92fdf text on a black background

contrast 4.54:1

Card sample

#b92fdf text on a white background

contrast 4.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b92fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b92fdf in the Color Lab