Skip to content

#c0b2df

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

RGB
192, 178, 223
HSL
259°, 41%, 79%
CMYK
14, 20, 0, 13
Luminance
0.4837

Every format

HEX#c0b2df
RGBrgb(192, 178, 223)
HSLhsl(259, 41%, 79%)
CMYKcmyk(14%, 20%, 0%, 13%)
LABlab(75.1 13.7 -20.8)
LCHlch(75.1 24.9 303.5)
OKLCHoklch(0.790 0.065 299.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0b2df on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#c0b2df on black: 10.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green69.8%
Blue87.5%

CMYK percentages

Cyan13.9%
Magenta20.2%
Yellow0.0%
Key (black)12.5%

Color previews

#c0b2df text on a black background

contrast 10.67:1

Card sample

#c0b2df text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0b2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0b2df in the Color Lab