Skip to content

#cfaaff

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

RGB
207, 170, 255
HSL
266°, 100%, 83%
CMYK
19, 33, 0, 0
Luminance
0.4923

Every format

HEX#cfaaff
RGBrgb(207, 170, 255)
HSLhsl(266, 100%, 83%)
CMYKcmyk(19%, 33%, 0%, 0%)
LABlab(75.6 29.7 -37.1)
LCHlch(75.6 47.5 308.6)
OKLCHoklch(0.801 0.123 303.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfaaff on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#cfaaff on black: 10.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green66.7%
Blue100.0%

CMYK percentages

Cyan18.8%
Magenta33.3%
Yellow0.0%
Key (black)0.0%

Color previews

#cfaaff text on a black background

contrast 10.85:1

Card sample

#cfaaff text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfaaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfaaff in the Color Lab