Skip to content

#8f25df

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

RGB
143, 37, 223
HSL
274°, 74%, 51%
CMYK
36, 83, 0, 13
Luminance
0.1249

Every format

HEX#8f25df
RGBrgb(143, 37, 223)
HSLhsl(274, 74%, 51%)
CMYKcmyk(36%, 83%, 0%, 13%)
LABlab(42.0 71.7 -73.4)
LCHlch(42.0 102.6 314.4)
OKLCHoklch(0.533 0.253 304.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8f25df on white: 6.00:1
AA ✓ pass · AA-large · AAA
Aa
#8f25df on black: 3.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green14.5%
Blue87.5%

CMYK percentages

Cyan35.9%
Magenta83.4%
Yellow0.0%
Key (black)12.5%

Color previews

#8f25df text on a black background

contrast 3.50:1

Card sample

#8f25df text on a white background

contrast 6.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8f25df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8f25df in the Color Lab