Skip to content

#9c25df

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

RGB
156, 37, 223
HSL
278°, 74%, 51%
CMYK
30, 83, 0, 13
Luminance
0.1372

Every format

HEX#9c25df
RGBrgb(156, 37, 223)
HSLhsl(278, 74%, 51%)
CMYKcmyk(30%, 83%, 0%, 13%)
LABlab(43.8 73.6 -70.3)
LCHlch(43.8 101.7 316.3)
OKLCHoklch(0.550 0.256 308.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9c25df on white: 5.61:1
AA ✓ pass · AA-large · AAA
Aa
#9c25df on black: 3.74:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.2%
Green14.5%
Blue87.5%

CMYK percentages

Cyan30.0%
Magenta83.4%
Yellow0.0%
Key (black)12.5%

Color previews

#9c25df text on a black background

contrast 3.74:1

Card sample

#9c25df text on a white background

contrast 5.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9c25df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9c25df in the Color Lab