Skip to content

#cbb8df

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

RGB
203, 184, 223
HSL
269°, 38%, 80%
CMYK
9, 18, 0, 13
Luminance
0.5231

Every format

HEX#cbb8df
RGBrgb(203, 184, 223)
HSLhsl(269, 38%, 80%)
CMYKcmyk(9%, 18%, 0%, 13%)
LABlab(77.5 14.0 -17.0)
LCHlch(77.5 22.1 309.4)
OKLCHoklch(0.811 0.058 307.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbb8df on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#cbb8df on black: 11.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green72.2%
Blue87.5%

CMYK percentages

Cyan9.0%
Magenta17.5%
Yellow0.0%
Key (black)12.5%

Color previews

#cbb8df text on a black background

contrast 11.46:1

Card sample

#cbb8df text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbb8df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbb8df in the Color Lab