Skip to content

#b900df

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

RGB
185, 0, 223
HSL
290°, 100%, 44%
CMYK
17, 100, 0, 13
Luminance
0.1564

Every format

HEX#b900df
RGBrgb(185, 0, 223)
HSLhsl(290, 100%, 44%)
CMYKcmyk(17%, 100%, 0%, 13%)
LABlab(46.5 83.2 -65.7)
LCHlch(46.5 106.0 321.7)
OKLCHoklch(0.577 0.279 318.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b900df on white: 5.09:1
AA ✓ pass · AA-large · AAA
Aa
#b900df on black: 4.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green0.0%
Blue87.5%

CMYK percentages

Cyan17.0%
Magenta100.0%
Yellow0.0%
Key (black)12.5%

Color previews

#b900df text on a black background

contrast 4.13:1

Card sample

#b900df text on a white background

contrast 5.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b900df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b900df in the Color Lab