Skip to content

#c7aaeb

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

RGB
199, 170, 235
HSL
267°, 62%, 79%
CMYK
15, 28, 0, 8
Luminance
0.4689

Every format

HEX#c7aaeb
RGBrgb(199, 170, 235)
HSLhsl(267, 62%, 79%)
CMYKcmyk(15%, 28%, 0%, 8%)
LABlab(74.1 22.9 -28.7)
LCHlch(74.1 36.7 308.6)
OKLCHoklch(0.786 0.096 304.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c7aaeb on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#c7aaeb on black: 10.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.0%
Green66.7%
Blue92.2%

CMYK percentages

Cyan15.3%
Magenta27.7%
Yellow0.0%
Key (black)7.8%

Color previews

#c7aaeb text on a black background

contrast 10.38:1

Card sample

#c7aaeb text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c7aaeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7aaeb in the Color Lab