Skip to content

#c4acfd

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

RGB
196, 172, 253
HSL
258°, 95%, 83%
CMYK
23, 32, 0, 1
Luminance
0.4833

Every format

HEX#c4acfd
RGBrgb(196, 172, 253)
HSLhsl(258, 95%, 83%)
CMYKcmyk(23%, 32%, 0%, 1%)
LABlab(75.0 24.9 -37.0)
LCHlch(75.0 44.6 303.9)
OKLCHoklch(0.794 0.115 297.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.9%
Green67.5%
Blue99.2%

CMYK percentages

Cyan22.5%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#c4acfd text on a black background

contrast 10.67:1

Card sample

#c4acfd text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c4acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4acfd in the Color Lab