Skip to content

#b295df

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

RGB
178, 149, 223
HSL
264°, 54%, 73%
CMYK
20, 33, 0, 13
Luminance
0.3629

Every format

HEX#b295df
RGBrgb(178, 149, 223)
HSLhsl(264, 54%, 73%)
CMYKcmyk(20%, 33%, 0%, 13%)
LABlab(66.7 25.5 -33.6)
LCHlch(66.7 42.2 307.1)
OKLCHoklch(0.723 0.109 301.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b295df on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#b295df on black: 8.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green58.4%
Blue87.5%

CMYK percentages

Cyan20.2%
Magenta33.2%
Yellow0.0%
Key (black)12.5%

Color previews

#b295df text on a black background

contrast 8.26:1

Card sample

#b295df text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b295df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b295df in the Color Lab