Skip to content

#cca3ff

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

RGB
204, 163, 255
HSL
267°, 100%, 82%
CMYK
20, 36, 0, 0
Luminance
0.4625

Every format

HEX#cca3ff
RGBrgb(204, 163, 255)
HSLhsl(267, 100%, 82%)
CMYKcmyk(20%, 36%, 0%, 0%)
LABlab(73.7 32.6 -40.1)
LCHlch(73.7 51.7 309.1)
OKLCHoklch(0.786 0.134 304.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cca3ff on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#cca3ff on black: 10.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green63.9%
Blue100.0%

CMYK percentages

Cyan20.0%
Magenta36.1%
Yellow0.0%
Key (black)0.0%

Color previews

#cca3ff text on a black background

contrast 10.25:1

Card sample

#cca3ff text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cca3ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cca3ff in the Color Lab