Skip to content

#c2abf4

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

RGB
194, 171, 244
HSL
259°, 77%, 81%
CMYK
21, 30, 0, 4
Luminance
0.4713

Every format

HEX#c2abf4
RGBrgb(194, 171, 244)
HSLhsl(259, 77%, 81%)
CMYKcmyk(21%, 30%, 0%, 4%)
LABlab(74.3 22.8 -33.4)
LCHlch(74.3 40.4 304.4)
OKLCHoklch(0.787 0.105 298.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green67.1%
Blue95.7%

CMYK percentages

Cyan20.5%
Magenta29.9%
Yellow0.0%
Key (black)4.3%

Color previews

#c2abf4 text on a black background

contrast 10.43:1

Card sample

#c2abf4 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2abf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2abf4 in the Color Lab