Skip to content

#900eee

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

RGB
144, 14, 238
HSL
275°, 89%, 49%
CMYK
40, 94, 0, 7
Luminance
0.1242

Every format

HEX#900eee
RGBrgb(144, 14, 238)
HSLhsl(275, 89%, 49%)
CMYKcmyk(40%, 94%, 0%, 7%)
LABlab(41.9 79.6 -82.1)
LCHlch(41.9 114.3 314.1)
OKLCHoklch(0.536 0.277 302.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#900eee on white: 6.03:1
AA ✓ pass · AA-large · AAA
Aa
#900eee on black: 3.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.5%
Green5.5%
Blue93.3%

CMYK percentages

Cyan39.5%
Magenta94.1%
Yellow0.0%
Key (black)6.7%

Color previews

#900eee text on a black background

contrast 3.48:1

Card sample

#900eee text on a white background

contrast 6.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #900eee;
Background color
Panel with #900eee background
background-color: #900eee;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #900eee;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #900eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #900eee in the Color Lab