Skip to content

#bb00ff

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

RGB
187, 0, 255
HSL
284°, 100%, 50%
CMYK
27, 100, 0, 0
Luminance
0.1778

Every format

HEX#bb00ff
RGBrgb(187, 0, 255)
HSLhsl(284, 100%, 50%)
CMYKcmyk(27%, 100%, 0%, 0%)
LABlab(49.2 88.9 -79.3)
LCHlch(49.2 119.1 318.3)
OKLCHoklch(0.604 0.302 311.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bb00ff on white: 4.61:1
AA ✓ pass · AA-large · AAA
Aa
#bb00ff on black: 4.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green0.0%
Blue100.0%

CMYK percentages

Cyan26.7%
Magenta100.0%
Yellow0.0%
Key (black)0.0%

Color previews

#bb00ff text on a black background

contrast 4.56:1

Card sample

#bb00ff text on a white background

contrast 4.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bb00ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bb00ff in the Color Lab