Skip to content

#b393df

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

RGB
179, 147, 223
HSL
265°, 54%, 73%
CMYK
20, 34, 0, 13
Luminance
0.3578

Every format

HEX#b393df
RGBrgb(179, 147, 223)
HSLhsl(265, 54%, 73%)
CMYKcmyk(20%, 34%, 0%, 13%)
LABlab(66.3 26.9 -34.2)
LCHlch(66.3 43.5 308.2)
OKLCHoklch(0.721 0.113 303.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b393df on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#b393df on black: 8.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green57.6%
Blue87.5%

CMYK percentages

Cyan19.7%
Magenta34.1%
Yellow0.0%
Key (black)12.5%

Color previews

#b393df text on a black background

contrast 8.16:1

Card sample

#b393df text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b393df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b393df in the Color Lab