Skip to content

#9b29ff

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

RGB
155, 41, 255
HSL
272°, 100%, 58%
CMYK
39, 84, 0, 0
Luminance
0.1577

Every format

HEX#9b29ff
RGBrgb(155, 41, 255)
HSLhsl(272, 100%, 58%)
CMYKcmyk(39%, 84%, 0%, 0%)
LABlab(46.7 79.0 -83.7)
LCHlch(46.7 115.0 313.3)
OKLCHoklch(0.577 0.280 301.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b29ff on white: 5.05:1
AA ✓ pass · AA-large · AAA
Aa
#9b29ff on black: 4.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green16.1%
Blue100.0%

CMYK percentages

Cyan39.2%
Magenta83.9%
Yellow0.0%
Key (black)0.0%

Color previews

#9b29ff text on a black background

contrast 4.15:1

Card sample

#9b29ff text on a white background

contrast 5.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b29ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b29ff in the Color Lab