Skip to content

#baa2db

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

RGB
186, 162, 219
HSL
265°, 44%, 75%
CMYK
15, 26, 0, 14
Luminance
0.4139

Every format

HEX#baa2db
RGBrgb(186, 162, 219)
HSLhsl(265, 44%, 75%)
CMYKcmyk(15%, 26%, 0%, 14%)
LABlab(70.5 19.8 -25.6)
LCHlch(70.5 32.4 307.7)
OKLCHoklch(0.753 0.084 303.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baa2db on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#baa2db on black: 9.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green63.5%
Blue85.9%

CMYK percentages

Cyan15.1%
Magenta26.0%
Yellow0.0%
Key (black)14.1%

Color previews

#baa2db text on a black background

contrast 9.28:1

Card sample

#baa2db text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 162, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 162, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baa2db;
background: linear-gradient(135deg, #baa2db, #DBA2D6);

Monochromatic scale

Palettes built from #baa2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baa2db in the Color Lab