Skip to content

#b55ff4

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

RGB
181, 95, 244
HSL
275°, 87%, 67%
CMYK
26, 61, 0, 4
Luminance
0.2454

Every format

HEX#b55ff4
RGBrgb(181, 95, 244)
HSLhsl(275, 87%, 67%)
CMYKcmyk(26%, 61%, 0%, 4%)
LABlab(56.6 60.0 -61.2)
LCHlch(56.6 85.7 314.4)
OKLCHoklch(0.652 0.220 308.0)

Copy-ready code

/* CSS */
color: #b55ff4;
background-color: #b55ff4;
/* Tailwind (arbitrary) */
class="text-[#b55ff4] bg-[#b55ff4]"
/* SCSS */
$brand: #b55ff4;
/* SwiftUI */
Color(red: 0.710, green: 0.373, blue: 0.957)
/* Android */
Color.parseColor("#b55ff4")

Accessibility — WCAG contrast

Aa
#b55ff4 on white: 3.55:1
AA ✗ fail · AA-large · AAA
Aa
#b55ff4 on black: 5.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red71.0%
Green37.3%
Blue95.7%

CMYK percentages

Cyan25.8%
Magenta61.1%
Yellow0.0%
Key (black)4.3%

Color previews

#b55ff4 text on a black background

contrast 5.91:1

Card sample

#b55ff4 text on a white background

contrast 3.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(181, 95, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 95, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b55ff4;
background: linear-gradient(135deg, #b55ff4, #F45FD0);

Monochromatic scale

Palettes built from #b55ff4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b55ff4 in the Color Lab