Skip to content

#9749df

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

RGB
151, 73, 223
HSL
271°, 70%, 58%
CMYK
32, 67, 0, 13
Luminance
0.1667

Every format

HEX#9749df
RGBrgb(151, 73, 223)
HSLhsl(271, 70%, 58%)
CMYKcmyk(32%, 67%, 0%, 13%)
LABlab(47.8 59.3 -63.8)
LCHlch(47.8 87.1 312.9)
OKLCHoklch(0.577 0.219 304.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9749df on white: 4.84:1
AA ✓ pass · AA-large · AAA
Aa
#9749df on black: 4.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red59.2%
Green28.6%
Blue87.5%

CMYK percentages

Cyan32.3%
Magenta67.3%
Yellow0.0%
Key (black)12.5%

Color previews

#9749df text on a black background

contrast 4.33:1

Card sample

#9749df text on a white background

contrast 4.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9749df;
Background color
Panel with #9749df background
background-color: #9749df;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9749df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9749df in the Color Lab