Skip to content

#b48fd2

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

RGB
180, 143, 210
HSL
273°, 43%, 69%
CMYK
14, 32, 0, 18
Luminance
0.3400

Every format

HEX#b48fd2
RGBrgb(180, 143, 210)
HSLhsl(273, 43%, 69%)
CMYKcmyk(14%, 32%, 0%, 18%)
LABlab(65.0 26.6 -29.2)
LCHlch(65.0 39.5 312.3)
OKLCHoklch(0.708 0.103 309.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b48fd2 on white: 2.69:1
AA ✗ fail · AA-large · AAA
Aa
#b48fd2 on black: 7.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green56.1%
Blue82.4%

CMYK percentages

Cyan14.3%
Magenta31.9%
Yellow0.0%
Key (black)17.6%

Color previews

#b48fd2 text on a black background

contrast 7.80:1

Card sample

#b48fd2 text on a white background

contrast 2.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b48fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b48fd2 in the Color Lab