Skip to content

#9b1eb2

a dark, vivid magenta / pink · warm · closest name: purple

RGB
155, 30, 178
HSL
291°, 71%, 41%
CMYK
13, 83, 0, 30
Luminance
0.1111

Every format

HEX#9b1eb2
RGBrgb(155, 30, 178)
HSLhsl(291, 71%, 41%)
CMYKcmyk(13%, 83%, 0%, 30%)
LABlab(39.8 66.7 -50.7)
LCHlch(39.8 83.8 322.8)
OKLCHoklch(0.511 0.224 320.5)

Copy-ready code

/* CSS */
color: #9b1eb2;
background-color: #9b1eb2;
/* Tailwind (arbitrary) */
class="text-[#9b1eb2] bg-[#9b1eb2]"
/* SCSS */
$brand: #9b1eb2;
/* SwiftUI */
Color(red: 0.608, green: 0.118, blue: 0.698)
/* Android */
Color.parseColor("#9b1eb2")

Accessibility — WCAG contrast

Aa
#9b1eb2 on white: 6.52:1
AA ✓ pass · AA-large · AAA
Aa
#9b1eb2 on black: 3.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green11.8%
Blue69.8%

CMYK percentages

Cyan12.9%
Magenta83.1%
Yellow0.0%
Key (black)30.2%

Color previews

#9b1eb2 text on a black background

contrast 3.22:1

Card sample

#9b1eb2 text on a white background

contrast 6.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(155, 30, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 30, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b1eb2;
background: linear-gradient(135deg, #9b1eb2, #B21E66);

Monochromatic scale

Palettes built from #9b1eb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b1eb2 in the Color Lab