Skip to content

#c2acfb

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

RGB
194, 172, 251
HSL
257°, 91%, 83%
CMYK
23, 32, 0, 2
Luminance
0.4794

Every format

HEX#c2acfb
RGBrgb(194, 172, 251)
HSLhsl(257, 91%, 83%)
CMYKcmyk(23%, 32%, 0%, 2%)
LABlab(74.8 23.8 -36.3)
LCHlch(74.8 43.5 303.3)
OKLCHoklch(0.792 0.112 296.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2acfb on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#c2acfb on black: 10.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green67.5%
Blue98.4%

CMYK percentages

Cyan22.7%
Magenta31.5%
Yellow0.0%
Key (black)1.6%

Color previews

#c2acfb text on a black background

contrast 10.59:1

Card sample

#c2acfb text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2acfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2acfb in the Color Lab