Skip to content

#c2b8df

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

RGB
194, 184, 223
HSL
255°, 38%, 80%
CMYK
13, 18, 0, 13
Luminance
0.5108

Every format

HEX#c2b8df
RGBrgb(194, 184, 223)
HSLhsl(255, 38%, 80%)
CMYKcmyk(13%, 18%, 0%, 13%)
LABlab(76.7 11.1 -18.2)
LCHlch(76.7 21.3 301.4)
OKLCHoklch(0.804 0.055 296.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2b8df on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#c2b8df on black: 11.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green72.2%
Blue87.5%

CMYK percentages

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

Color previews

#c2b8df text on a black background

contrast 11.22:1

Card sample

#c2b8df text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2b8df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2b8df in the Color Lab