Skip to content

#b393d4

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

RGB
179, 147, 212
HSL
270°, 43%, 70%
CMYK
16, 31, 0, 17
Luminance
0.3520

Every format

HEX#b393d4
RGBrgb(179, 147, 212)
HSLhsl(270, 43%, 70%)
CMYKcmyk(16%, 31%, 0%, 17%)
LABlab(65.9 24.4 -28.8)
LCHlch(65.9 37.8 310.3)
OKLCHoklch(0.716 0.099 306.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b393d4 on white: 2.61:1
AA ✗ fail · AA-large · AAA
Aa
#b393d4 on black: 8.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green57.6%
Blue83.1%

CMYK percentages

Cyan15.6%
Magenta30.7%
Yellow0.0%
Key (black)16.9%

Color previews

#b393d4 text on a black background

contrast 8.04:1

Card sample

#b393d4 text on a white background

contrast 2.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b393d4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b393d4 in the Color Lab