Skip to content

#9155f0

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

RGB
145, 85, 240
HSL
263°, 84%, 64%
CMYK
40, 65, 0, 6
Luminance
0.1881

Every format

HEX#9155f0
RGBrgb(145, 85, 240)
HSLhsl(263, 84%, 64%)
CMYKcmyk(40%, 65%, 0%, 6%)
LABlab(50.5 56.4 -69.2)
LCHlch(50.5 89.2 309.2)
OKLCHoklch(0.598 0.221 297.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9155f0 on white: 4.41:1
AA ✗ fail · AA-large · AAA
Aa
#9155f0 on black: 4.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.9%
Green33.3%
Blue94.1%

CMYK percentages

Cyan39.6%
Magenta64.6%
Yellow0.0%
Key (black)5.9%

Color previews

#9155f0 text on a black background

contrast 4.76:1

Card sample

#9155f0 text on a white background

contrast 4.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9155f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9155f0 in the Color Lab