Skip to content

#c3afff

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

RGB
195, 175, 255
HSL
255°, 100%, 84%
CMYK
24, 31, 0, 0
Luminance
0.4948

Every format

HEX#c3afff
RGBrgb(195, 175, 255)
HSLhsl(255, 100%, 84%)
CMYKcmyk(24%, 31%, 0%, 0%)
LABlab(75.8 23.4 -37.0)
LCHlch(75.8 43.8 302.3)
OKLCHoklch(0.800 0.113 295.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c3afff on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#c3afff on black: 10.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.5%
Green68.6%
Blue100.0%

CMYK percentages

Cyan23.5%
Magenta31.4%
Yellow0.0%
Key (black)0.0%

Color previews

#c3afff text on a black background

contrast 10.90:1

Card sample

#c3afff text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c3afff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c3afff in the Color Lab