Skip to content

#9900ee

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

RGB
153, 0, 238
HSL
279°, 100%, 47%
CMYK
36, 100, 0, 7
Luminance
0.1295

Every format

HEX#9900ee
RGBrgb(153, 0, 238)
HSLhsl(279, 100%, 47%)
CMYKcmyk(36%, 100%, 0%, 7%)
LABlab(42.7 82.0 -80.7)
LCHlch(42.7 115.0 315.5)
OKLCHoklch(0.545 0.282 305.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9900ee on white: 5.85:1
AA ✓ pass · AA-large · AAA
Aa
#9900ee on black: 3.59:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.0%
Green0.0%
Blue93.3%

CMYK percentages

Cyan35.7%
Magenta100.0%
Yellow0.0%
Key (black)6.7%

Color previews

#9900ee text on a black background

contrast 3.59:1

Card sample

#9900ee text on a white background

contrast 5.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9900ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9900ee in the Color Lab