Skip to content

#b010fd

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

RGB
176, 16, 253
HSL
281°, 98%, 53%
CMYK
30, 94, 0, 1
Luminance
0.1669

Every format

HEX#b010fd
RGBrgb(176, 16, 253)
HSLhsl(281, 98%, 53%)
CMYKcmyk(30%, 94%, 0%, 1%)
LABlab(47.9 85.8 -80.5)
LCHlch(47.9 117.7 316.8)
OKLCHoklch(0.591 0.295 309.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b010fd on white: 4.84:1
AA ✓ pass · AA-large · AAA
Aa
#b010fd on black: 4.34:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.0%
Green6.3%
Blue99.2%

CMYK percentages

Cyan30.4%
Magenta93.7%
Yellow0.0%
Key (black)0.8%

Color previews

#b010fd text on a black background

contrast 4.34:1

Card sample

#b010fd text on a white background

contrast 4.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(176, 16, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 16, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b010fd;
background: linear-gradient(135deg, #b010fd, #FD10AC);

Monochromatic scale

Palettes built from #b010fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b010fd in the Color Lab