Skip to content

#c2acff

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

RGB
194, 172, 255
HSL
256°, 100%, 84%
CMYK
24, 33, 0, 0
Luminance
0.4819

Every format

HEX#c2acff
RGBrgb(194, 172, 255)
HSLhsl(256, 100%, 84%)
CMYKcmyk(24%, 33%, 0%, 0%)
LABlab(75.0 24.8 -38.2)
LCHlch(75.0 45.6 302.9)
OKLCHoklch(0.794 0.118 295.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2acff on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#c2acff on black: 10.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green67.5%
Blue100.0%

CMYK percentages

Cyan23.9%
Magenta32.5%
Yellow0.0%
Key (black)0.0%

Color previews

#c2acff text on a black background

contrast 10.64:1

Card sample

#c2acff text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2acff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2acff in the Color Lab