Skip to content

#b92ddf

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

RGB
185, 45, 223
HSL
287°, 74%, 53%
CMYK
17, 80, 0, 13
Luminance
0.1752

Every format

HEX#b92ddf
RGBrgb(185, 45, 223)
HSLhsl(287, 74%, 53%)
CMYKcmyk(17%, 80%, 0%, 13%)
LABlab(48.9 76.1 -61.8)
LCHlch(48.9 98.0 320.9)
OKLCHoklch(0.594 0.258 317.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b92ddf on white: 4.66:1
AA ✓ pass · AA-large · AAA
Aa
#b92ddf on black: 4.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green17.6%
Blue87.5%

CMYK percentages

Cyan17.0%
Magenta79.8%
Yellow0.0%
Key (black)12.5%

Color previews

#b92ddf text on a black background

contrast 4.50:1

Card sample

#b92ddf text on a white background

contrast 4.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b92ddf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b92ddf in the Color Lab