Skip to content

#9b33ff

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

RGB
155, 51, 255
HSL
271°, 100%, 60%
CMYK
39, 80, 0, 0
Luminance
0.1656

Every format

HEX#9b33ff
RGBrgb(155, 51, 255)
HSLhsl(271, 100%, 60%)
CMYKcmyk(39%, 80%, 0%, 0%)
LABlab(47.7 76.0 -82.0)
LCHlch(47.7 111.8 312.8)
OKLCHoklch(0.584 0.273 300.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b33ff on white: 4.87:1
AA ✓ pass · AA-large · AAA
Aa
#9b33ff on black: 4.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green20.0%
Blue100.0%

CMYK percentages

Cyan39.2%
Magenta80.0%
Yellow0.0%
Key (black)0.0%

Color previews

#9b33ff text on a black background

contrast 4.31:1

Card sample

#9b33ff text on a white background

contrast 4.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b33ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b33ff in the Color Lab