Skip to content

#b10cdf

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

RGB
177, 12, 223
HSL
287°, 90%, 46%
CMYK
21, 95, 0, 13
Luminance
0.1494

Every format

HEX#b10cdf
RGBrgb(177, 12, 223)
HSLhsl(287, 90%, 46%)
CMYKcmyk(21%, 95%, 0%, 13%)
LABlab(45.5 81.0 -67.3)
LCHlch(45.5 105.3 320.3)
OKLCHoklch(0.568 0.274 315.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b10cdf on white: 5.27:1
AA ✓ pass · AA-large · AAA
Aa
#b10cdf on black: 3.99:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.4%
Green4.7%
Blue87.5%

CMYK percentages

Cyan20.6%
Magenta94.6%
Yellow0.0%
Key (black)12.5%

Color previews

#b10cdf text on a black background

contrast 3.99:1

Card sample

#b10cdf text on a white background

contrast 5.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b10cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b10cdf in the Color Lab