Skip to content

#920fdf

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

RGB
146, 15, 223
HSL
278°, 87%, 47%
CMYK
35, 93, 0, 13
Luminance
0.1178

Every format

HEX#920fdf
RGBrgb(146, 15, 223)
HSLhsl(278, 87%, 47%)
CMYKcmyk(35%, 93%, 0%, 13%)
LABlab(40.9 76.7 -75.2)
LCHlch(40.9 107.4 315.6)
OKLCHoklch(0.526 0.265 306.0)

Copy-ready code

/* CSS */
color: #920fdf;
background-color: #920fdf;
/* Tailwind (arbitrary) */
class="text-[#920fdf] bg-[#920fdf]"
/* SCSS */
$brand: #920fdf;
/* SwiftUI */
Color(red: 0.573, green: 0.059, blue: 0.875)
/* Android */
Color.parseColor("#920fdf")

Accessibility — WCAG contrast

Aa
#920fdf on white: 6.26:1
AA ✓ pass · AA-large · AAA
Aa
#920fdf on black: 3.36:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red57.3%
Green5.9%
Blue87.5%

CMYK percentages

Cyan34.5%
Magenta93.3%
Yellow0.0%
Key (black)12.5%

Color previews

#920fdf text on a black background

contrast 3.36:1

Card sample

#920fdf text on a white background

contrast 6.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(146, 15, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(146, 15, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #920fdf;
background: linear-gradient(135deg, #920fdf, #DF0FA1);

Monochromatic scale

Palettes built from #920fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #920fdf in the Color Lab