Skip to content

#9155cc

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

RGB
145, 85, 204
HSL
270°, 54%, 57%
CMYK
29, 58, 0, 20
Luminance
0.1688

Every format

HEX#9155cc
RGBrgb(145, 85, 204)
HSLhsl(270, 54%, 57%)
CMYKcmyk(29%, 58%, 0%, 20%)
LABlab(48.1 47.5 -52.5)
LCHlch(48.1 70.8 312.1)
OKLCHoklch(0.573 0.180 304.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9155cc on white: 4.80:1
AA ✓ pass · AA-large · AAA
Aa
#9155cc on black: 4.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.9%
Green33.3%
Blue80.0%

CMYK percentages

Cyan28.9%
Magenta58.3%
Yellow0.0%
Key (black)20.0%

Color previews

#9155cc text on a black background

contrast 4.38:1

Card sample

#9155cc text on a white background

contrast 4.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9155cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9155cc in the Color Lab