Skip to content

#bb0df2

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

RGB
187, 13, 242
HSL
286°, 90%, 50%
CMYK
23, 95, 0, 5
Luminance
0.1726

Every format

HEX#bb0df2
RGBrgb(187, 13, 242)
HSLhsl(286, 90%, 50%)
CMYKcmyk(23%, 95%, 0%, 5%)
LABlab(48.6 85.5 -73.1)
LCHlch(48.6 112.5 319.5)
OKLCHoklch(0.596 0.290 314.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bb0df2 on white: 4.72:1
AA ✓ pass · AA-large · AAA
Aa
#bb0df2 on black: 4.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green5.1%
Blue94.9%

CMYK percentages

Cyan22.7%
Magenta94.6%
Yellow0.0%
Key (black)5.1%

Color previews

#bb0df2 text on a black background

contrast 4.45:1

Card sample

#bb0df2 text on a white background

contrast 4.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 13, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 13, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bb0df2;
background: linear-gradient(135deg, #bb0df2, #F20D90);

Monochromatic scale

Palettes built from #bb0df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bb0df2 in the Color Lab