Skip to content

#bb0cdf

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

RGB
187, 12, 223
HSL
290°, 90%, 46%
CMYK
16, 95, 0, 13
Luminance
0.1616

Every format

HEX#bb0cdf
RGBrgb(187, 12, 223)
HSLhsl(290, 90%, 46%)
CMYKcmyk(16%, 95%, 0%, 13%)
LABlab(47.2 82.4 -64.6)
LCHlch(47.2 104.7 321.9)
OKLCHoklch(0.582 0.277 318.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bb0cdf on white: 4.96:1
AA ✓ pass · AA-large · AAA
Aa
#bb0cdf on black: 4.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green4.7%
Blue87.5%

CMYK percentages

Cyan16.1%
Magenta94.6%
Yellow0.0%
Key (black)12.5%

Color previews

#bb0cdf text on a black background

contrast 4.23:1

Card sample

#bb0cdf text on a white background

contrast 4.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bb0cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bb0cdf in the Color Lab