Skip to content

#b577ff

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

RGB
181, 119, 255
HSL
267°, 100%, 73%
CMYK
29, 53, 0, 0
Luminance
0.3024

Every format

HEX#b577ff
RGBrgb(181, 119, 255)
HSLhsl(267, 100%, 73%)
CMYKcmyk(29%, 53%, 0%, 0%)
LABlab(61.9 50.3 -58.9)
LCHlch(61.9 77.5 310.5)
OKLCHoklch(0.692 0.197 302.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b577ff on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#b577ff on black: 7.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red71.0%
Green46.7%
Blue100.0%

CMYK percentages

Cyan29.0%
Magenta53.3%
Yellow0.0%
Key (black)0.0%

Color previews

#b577ff text on a black background

contrast 7.05:1

Card sample

#b577ff text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b577ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b577ff in the Color Lab