Skip to content

#9900ff

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

RGB
153, 0, 255
HSL
276°, 100%, 50%
CMYK
40, 100, 0, 0
Luminance
0.1399

Every format

HEX#9900ff
RGBrgb(153, 0, 255)
HSLhsl(276, 100%, 50%)
CMYKcmyk(40%, 100%, 0%, 0%)
LABlab(44.2 85.3 -87.7)
LCHlch(44.2 122.3 314.2)
OKLCHoklch(0.560 0.296 301.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9900ff on white: 5.53:1
AA ✓ pass · AA-large · AAA
Aa
#9900ff on black: 3.80:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.0%
Green0.0%
Blue100.0%

CMYK percentages

Cyan40.0%
Magenta100.0%
Yellow0.0%
Key (black)0.0%

Color previews

#9900ff text on a black background

contrast 3.80:1

Card sample

#9900ff text on a white background

contrast 5.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(153, 0, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(153, 0, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9900ff;
background: linear-gradient(135deg, #9900ff, #FF00BB);

Monochromatic scale

Palettes built from #9900ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9900ff in the Color Lab