Skip to content

#c0ace4

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

RGB
192, 172, 228
HSL
261°, 51%, 78%
CMYK
16, 25, 0, 11
Luminance
0.4631

Every format

HEX#c0ace4
RGBrgb(192, 172, 228)
HSLhsl(261, 51%, 78%)
CMYKcmyk(16%, 25%, 0%, 11%)
LABlab(73.8 18.1 -25.5)
LCHlch(73.8 31.3 305.4)
OKLCHoklch(0.781 0.081 300.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0ace4 on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#c0ace4 on black: 10.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green67.5%
Blue89.4%

CMYK percentages

Cyan15.8%
Magenta24.6%
Yellow0.0%
Key (black)10.6%

Color previews

#c0ace4 text on a black background

contrast 10.26:1

Card sample

#c0ace4 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0ace4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0ace4 in the Color Lab