Skip to content

#9f10df

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

RGB
159, 16, 223
HSL
281°, 87%, 47%
CMYK
29, 93, 0, 13
Luminance
0.1307

Every format

HEX#9f10df
RGBrgb(159, 16, 223)
HSLhsl(281, 87%, 47%)
CMYKcmyk(29%, 93%, 0%, 13%)
LABlab(42.9 78.2 -71.8)
LCHlch(42.9 106.2 317.4)
OKLCHoklch(0.544 0.268 310.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9f10df on white: 5.81:1
AA ✓ pass · AA-large · AAA
Aa
#9f10df on black: 3.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green6.3%
Blue87.5%

CMYK percentages

Cyan28.7%
Magenta92.8%
Yellow0.0%
Key (black)12.5%

Color previews

#9f10df text on a black background

contrast 3.61:1

Card sample

#9f10df text on a white background

contrast 5.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(159, 16, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 16, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9f10df;
background: linear-gradient(135deg, #9f10df, #DF1095);

Monochromatic scale

Palettes built from #9f10df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9f10df in the Color Lab