Skip to content

#c7acef

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

RGB
199, 172, 239
HSL
264°, 68%, 81%
CMYK
17, 28, 0, 6
Luminance
0.4788

Every format

HEX#c7acef
RGBrgb(199, 172, 239)
HSLhsl(264, 68%, 81%)
CMYKcmyk(17%, 28%, 0%, 6%)
LABlab(74.8 22.7 -29.9)
LCHlch(74.8 37.5 307.2)
OKLCHoklch(0.791 0.097 302.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c7acef on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#c7acef on black: 10.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.0%
Green67.5%
Blue93.7%

CMYK percentages

Cyan16.7%
Magenta28.0%
Yellow0.0%
Key (black)6.3%

Color previews

#c7acef text on a black background

contrast 10.58:1

Card sample

#c7acef text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c7acef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7acef in the Color Lab