Skip to content

#c2abf9

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

RGB
194, 171, 249
HSL
258°, 87%, 82%
CMYK
22, 31, 0, 2
Luminance
0.4743

Every format

HEX#c2abf9
RGBrgb(194, 171, 249)
HSLhsl(258, 87%, 82%)
CMYKcmyk(22%, 31%, 0%, 2%)
LABlab(74.5 23.9 -35.8)
LCHlch(74.5 43.0 303.8)
OKLCHoklch(0.789 0.111 297.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2abf9 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#c2abf9 on black: 10.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green67.1%
Blue97.6%

CMYK percentages

Cyan22.1%
Magenta31.3%
Yellow0.0%
Key (black)2.4%

Color previews

#c2abf9 text on a black background

contrast 10.49:1

Card sample

#c2abf9 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2abf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2abf9 in the Color Lab