Skip to content

#c2aafd

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

RGB
194, 170, 253
HSL
257°, 95%, 83%
CMYK
23, 33, 0, 1
Luminance
0.4731

Every format

HEX#c2aafd
RGBrgb(194, 170, 253)
HSLhsl(257, 95%, 83%)
CMYKcmyk(23%, 33%, 0%, 1%)
LABlab(74.4 25.4 -38.0)
LCHlch(74.4 45.7 303.7)
OKLCHoklch(0.789 0.118 296.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2aafd on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#c2aafd on black: 10.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green66.7%
Blue99.2%

CMYK percentages

Cyan23.3%
Magenta32.8%
Yellow0.0%
Key (black)0.8%

Color previews

#c2aafd text on a black background

contrast 10.46:1

Card sample

#c2aafd text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2aafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2aafd in the Color Lab