Skip to content

#b13df0

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

RGB
177, 61, 240
HSL
279°, 86%, 59%
CMYK
26, 75, 0, 6
Luminance
0.1898

Every format

HEX#b13df0
RGBrgb(177, 61, 240)
HSLhsl(279, 86%, 59%)
CMYKcmyk(26%, 75%, 0%, 6%)
LABlab(50.7 72.8 -68.7)
LCHlch(50.7 100.1 316.7)
OKLCHoklch(0.607 0.255 310.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b13df0 on white: 4.38:1
AA ✗ fail · AA-large · AAA
Aa
#b13df0 on black: 4.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.4%
Green23.9%
Blue94.1%

CMYK percentages

Cyan26.3%
Magenta74.6%
Yellow0.0%
Key (black)5.9%

Color previews

#b13df0 text on a black background

contrast 4.80:1

Card sample

#b13df0 text on a white background

contrast 4.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b13df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b13df0 in the Color Lab