Skip to content

#ad30ec

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

RGB
173, 48, 236
HSL
280°, 83%, 56%
CMYK
27, 80, 0, 8
Luminance
0.1705

Every format

HEX#ad30ec
RGBrgb(173, 48, 236)
HSLhsl(280, 83%, 56%)
CMYKcmyk(27%, 80%, 0%, 8%)
LABlab(48.3 75.7 -70.2)
LCHlch(48.3 103.2 317.1)
OKLCHoklch(0.589 0.263 310.7)

Copy-ready code

/* CSS */
color: #ad30ec;
background-color: #ad30ec;
/* Tailwind (arbitrary) */
class="text-[#ad30ec] bg-[#ad30ec]"
/* SCSS */
$brand: #ad30ec;
/* SwiftUI */
Color(red: 0.678, green: 0.188, blue: 0.925)
/* Android */
Color.parseColor("#ad30ec")

Accessibility — WCAG contrast

Aa
#ad30ec on white: 4.76:1
AA ✓ pass · AA-large · AAA
Aa
#ad30ec on black: 4.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green18.8%
Blue92.5%

CMYK percentages

Cyan26.7%
Magenta79.7%
Yellow0.0%
Key (black)7.5%

Color previews

#ad30ec text on a black background

contrast 4.41:1

Card sample

#ad30ec text on a white background

contrast 4.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 48, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 48, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad30ec;
background: linear-gradient(135deg, #ad30ec, #EC30AE);

Monochromatic scale

Palettes built from #ad30ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad30ec in the Color Lab