Skip to content

#c2aefe

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

RGB
194, 174, 254
HSL
255°, 98%, 84%
CMYK
24, 32, 0, 0
Luminance
0.4890

Every format

HEX#c2aefe
RGBrgb(194, 174, 254)
HSLhsl(255, 98%, 84%)
CMYKcmyk(24%, 32%, 0%, 0%)
LABlab(75.4 23.4 -37.0)
LCHlch(75.4 43.8 302.3)
OKLCHoklch(0.797 0.113 295.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2aefe on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#c2aefe on black: 10.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green68.2%
Blue99.6%

CMYK percentages

Cyan23.6%
Magenta31.5%
Yellow0.0%
Key (black)0.4%

Color previews

#c2aefe text on a black background

contrast 10.78:1

Card sample

#c2aefe text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2aefe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2aefe in the Color Lab