Skip to content

#b46df2

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

RGB
180, 109, 242
HSL
272°, 84%, 69%
CMYK
26, 55, 0, 5
Luminance
0.2705

Every format

HEX#b46df2
RGBrgb(180, 109, 242)
HSLhsl(272, 84%, 69%)
CMYKcmyk(26%, 55%, 0%, 5%)
LABlab(59.0 52.3 -56.3)
LCHlch(59.0 76.8 312.9)
OKLCHoklch(0.669 0.197 306.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b46df2 on white: 3.28:1
AA ✗ fail · AA-large · AAA
Aa
#b46df2 on black: 6.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green42.7%
Blue94.9%

CMYK percentages

Cyan25.6%
Magenta55.0%
Yellow0.0%
Key (black)5.1%

Color previews

#b46df2 text on a black background

contrast 6.41:1

Card sample

#b46df2 text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(180, 109, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 109, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b46df2;
background: linear-gradient(135deg, #b46df2, #F26DD7);

Monochromatic scale

Palettes built from #b46df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b46df2 in the Color Lab