Skip to content

#5d0eee

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

RGB
93, 14, 238
HSL
261°, 89%, 49%
CMYK
61, 94, 0, 7
Luminance
0.0881

Every format

HEX#5d0eee
RGBrgb(93, 14, 238)
HSLhsl(261, 89%, 49%)
CMYKcmyk(61%, 94%, 0%, 7%)
LABlab(35.6 75.4 -92.6)
LCHlch(35.6 119.4 309.1)
OKLCHoklch(0.481 0.276 284.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5d0eee on white: 7.60:1
AA ✓ pass · AA-large · AAA
Aa
#5d0eee on black: 2.76:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red36.5%
Green5.5%
Blue93.3%

CMYK percentages

Cyan60.9%
Magenta94.1%
Yellow0.0%
Key (black)6.7%

Color previews

#5d0eee text on a black background

contrast 2.76:1

Card sample

#5d0eee text on a white background

contrast 7.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5d0eee;
Background color
Panel with #5d0eee background
background-color: #5d0eee;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5d0eee;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #5d0eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5d0eee in the Color Lab