Skip to content

#b48cdf

a light, vivid violet · warm · closest name: plum

RGB
180, 140, 223
HSL
269°, 57%, 71%
CMYK
19, 37, 0, 13
Luminance
0.3379

Every format

HEX#b48cdf
RGBrgb(180, 140, 223)
HSLhsl(269, 57%, 71%)
CMYKcmyk(19%, 37%, 0%, 13%)
LABlab(64.8 31.1 -36.6)
LCHlch(64.8 48.1 310.3)
OKLCHoklch(0.709 0.125 305.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b48cdf on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#b48cdf on black: 7.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green54.9%
Blue87.5%

CMYK percentages

Cyan19.3%
Magenta37.2%
Yellow0.0%
Key (black)12.5%

Color previews

#b48cdf text on a black background

contrast 7.76:1

Card sample

#b48cdf text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b48cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b48cdf in the Color Lab