Skip to content

#9b3fbc

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

RGB
155, 63, 188
HSL
284°, 50%, 49%
CMYK
18, 67, 0, 26
Luminance
0.1415

Every format

HEX#9b3fbc
RGBrgb(155, 63, 188)
HSLhsl(284, 50%, 49%)
CMYKcmyk(18%, 67%, 0%, 26%)
LABlab(44.5 57.1 -49.0)
LCHlch(44.5 75.3 319.3)
OKLCHoklch(0.546 0.198 315.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b3fbc on white: 5.48:1
AA ✓ pass · AA-large · AAA
Aa
#9b3fbc on black: 3.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green24.7%
Blue73.7%

CMYK percentages

Cyan17.6%
Magenta66.5%
Yellow0.0%
Key (black)26.3%

Color previews

#9b3fbc text on a black background

contrast 3.83:1

Card sample

#9b3fbc text on a white background

contrast 5.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b3fbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b3fbc in the Color Lab