Skip to content

#b48fdf

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

RGB
180, 143, 223
HSL
268°, 56%, 72%
CMYK
19, 36, 0, 13
Luminance
0.3468

Every format

HEX#b48fdf
RGBrgb(180, 143, 223)
HSLhsl(268, 56%, 72%)
CMYKcmyk(19%, 36%, 0%, 13%)
LABlab(65.5 29.4 -35.5)
LCHlch(65.5 46.2 309.6)
OKLCHoklch(0.714 0.120 304.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b48fdf on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#b48fdf on black: 7.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green56.1%
Blue87.5%

CMYK percentages

Cyan19.3%
Magenta35.9%
Yellow0.0%
Key (black)12.5%

Color previews

#b48fdf text on a black background

contrast 7.94:1

Card sample

#b48fdf text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b48fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b48fdf in the Color Lab