Skip to content

#8d49df

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

RGB
141, 73, 223
HSL
267°, 70%, 58%
CMYK
37, 67, 0, 13
Luminance
0.1576

Every format

HEX#8d49df
RGBrgb(141, 73, 223)
HSLhsl(267, 70%, 58%)
CMYKcmyk(37%, 67%, 0%, 13%)
LABlab(46.6 57.3 -65.8)
LCHlch(46.6 87.3 311.1)
OKLCHoklch(0.565 0.217 300.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8d49df on white: 5.06:1
AA ✓ pass · AA-large · AAA
Aa
#8d49df on black: 4.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red55.3%
Green28.6%
Blue87.5%

CMYK percentages

Cyan36.8%
Magenta67.3%
Yellow0.0%
Key (black)12.5%

Color previews

#8d49df text on a black background

contrast 4.15:1

Card sample

#8d49df text on a white background

contrast 5.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8d49df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8d49df in the Color Lab