Skip to content

#9b3bdf

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

RGB
155, 59, 223
HSL
275°, 72%, 55%
CMYK
31, 74, 0, 13
Luminance
0.1542

Every format

HEX#9b3bdf
RGBrgb(155, 59, 223)
HSLhsl(275, 72%, 55%)
CMYKcmyk(31%, 74%, 0%, 13%)
LABlab(46.2 66.1 -66.4)
LCHlch(46.2 93.7 314.9)
OKLCHoklch(0.566 0.236 306.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b3bdf on white: 5.14:1
AA ✓ pass · AA-large · AAA
Aa
#9b3bdf on black: 4.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green23.1%
Blue87.5%

CMYK percentages

Cyan30.5%
Magenta73.5%
Yellow0.0%
Key (black)12.5%

Color previews

#9b3bdf text on a black background

contrast 4.08:1

Card sample

#9b3bdf text on a white background

contrast 5.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b3bdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b3bdf in the Color Lab