Skip to content

#9155c3

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

RGB
145, 85, 195
HSL
273°, 48%, 55%
CMYK
26, 56, 0, 24
Luminance
0.1646

Every format

HEX#9155c3
RGBrgb(145, 85, 195)
HSLhsl(273, 48%, 55%)
CMYKcmyk(26%, 56%, 0%, 24%)
LABlab(47.6 45.4 -48.2)
LCHlch(47.6 66.2 313.3)
OKLCHoklch(0.567 0.170 307.0)

Copy-ready code

/* CSS */
color: #9155c3;
background-color: #9155c3;
/* Tailwind (arbitrary) */
class="text-[#9155c3] bg-[#9155c3]"
/* SCSS */
$brand: #9155c3;
/* SwiftUI */
Color(red: 0.569, green: 0.333, blue: 0.765)
/* Android */
Color.parseColor("#9155c3")

Accessibility — WCAG contrast

Aa
#9155c3 on white: 4.89:1
AA ✓ pass · AA-large · AAA
Aa
#9155c3 on black: 4.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.9%
Green33.3%
Blue76.5%

CMYK percentages

Cyan25.6%
Magenta56.4%
Yellow0.0%
Key (black)23.5%

Color previews

#9155c3 text on a black background

contrast 4.29:1

Card sample

#9155c3 text on a white background

contrast 4.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9155c3;
Background color
Panel with #9155c3 background
background-color: #9155c3;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(145, 85, 195, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(145, 85, 195, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9155c3;
background: linear-gradient(135deg, #9155c3, #C355AC);

Monochromatic scale

Palettes built from #9155c3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9155c3 in the Color Lab