Skip to content

#c47df0

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

RGB
196, 125, 240
HSL
277°, 79%, 72%
CMYK
18, 48, 0, 6
Luminance
0.3269

Every format

HEX#c47df0
RGBrgb(196, 125, 240)
HSLhsl(277, 79%, 72%)
CMYKcmyk(18%, 48%, 0%, 6%)
LABlab(63.9 47.6 -47.3)
LCHlch(63.9 67.1 315.2)
OKLCHoklch(0.709 0.175 311.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c47df0 on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#c47df0 on black: 7.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green49.0%
Blue94.1%

CMYK percentages

Cyan18.3%
Magenta47.9%
Yellow0.0%
Key (black)5.9%

Color previews

#c47df0 text on a black background

contrast 7.54:1

Card sample

#c47df0 text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c47df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c47df0 in the Color Lab