Skip to content

#b29cf0

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

RGB
178, 156, 240
HSL
256°, 74%, 78%
CMYK
26, 35, 0, 6
Luminance
0.3953

Every format

HEX#b29cf0
RGBrgb(178, 156, 240)
HSLhsl(256, 74%, 78%)
CMYKcmyk(26%, 35%, 0%, 6%)
LABlab(69.1 25.5 -39.3)
LCHlch(69.1 46.8 303.0)
OKLCHoklch(0.744 0.121 295.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b29cf0 on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#b29cf0 on black: 8.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green61.2%
Blue94.1%

CMYK percentages

Cyan25.8%
Magenta35.0%
Yellow0.0%
Key (black)5.9%

Color previews

#b29cf0 text on a black background

contrast 8.91:1

Card sample

#b29cf0 text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b29cf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b29cf0 in the Color Lab