Skip to content

#c2aeff

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

RGB
194, 174, 255
HSL
255°, 100%, 84%
CMYK
24, 32, 0, 0
Luminance
0.4896

Every format

HEX#c2aeff
RGBrgb(194, 174, 255)
HSLhsl(255, 100%, 84%)
CMYKcmyk(24%, 32%, 0%, 0%)
LABlab(75.4 23.7 -37.5)
LCHlch(75.4 44.3 302.2)
OKLCHoklch(0.797 0.115 295.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green68.2%
Blue100.0%

CMYK percentages

Cyan23.9%
Magenta31.8%
Yellow0.0%
Key (black)0.0%

Color previews

#c2aeff text on a black background

contrast 10.79:1

Card sample

#c2aeff text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2aeff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2aeff in the Color Lab