Skip to content

#9b0eb8

a dark, electric violet · warm · closest name: purple

RGB
155, 14, 184
HSL
290°, 86%, 39%
CMYK
16, 92, 0, 28
Luminance
0.1074

Every format

HEX#9b0eb8
RGBrgb(155, 14, 184)
HSLhsl(290, 86%, 39%)
CMYKcmyk(16%, 92%, 0%, 28%)
LABlab(39.1 70.8 -55.3)
LCHlch(39.1 89.8 322.0)
OKLCHoklch(0.508 0.238 319.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b0eb8 on white: 6.67:1
AA ✓ pass · AA-large · AAA
Aa
#9b0eb8 on black: 3.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green5.5%
Blue72.2%

CMYK percentages

Cyan15.8%
Magenta92.4%
Yellow0.0%
Key (black)27.8%

Color previews

#9b0eb8 text on a black background

contrast 3.15:1

Card sample

#9b0eb8 text on a white background

contrast 6.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b0eb8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b0eb8 in the Color Lab