Skip to content

#b910df

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

RGB
185, 16, 223
HSL
289°, 87%, 47%
CMYK
17, 93, 0, 13
Luminance
0.1601

Every format

HEX#b910df
RGBrgb(185, 16, 223)
HSLhsl(289, 87%, 47%)
CMYKcmyk(17%, 93%, 0%, 13%)
LABlab(47.0 81.7 -64.9)
LCHlch(47.0 104.3 321.5)
OKLCHoklch(0.580 0.275 318.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b910df on white: 5.00:1
AA ✓ pass · AA-large · AAA
Aa
#b910df on black: 4.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green6.3%
Blue87.5%

CMYK percentages

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

Color previews

#b910df text on a black background

contrast 4.20:1

Card sample

#b910df text on a white background

contrast 5.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b910df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b910df in the Color Lab