Skip to content

#cfabff

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

RGB
207, 171, 255
HSL
266°, 100%, 84%
CMYK
19, 33, 0, 0
Luminance
0.4961

Every format

HEX#cfabff
RGBrgb(207, 171, 255)
HSLhsl(266, 100%, 84%)
CMYKcmyk(19%, 33%, 0%, 0%)
LABlab(75.8 29.1 -36.8)
LCHlch(75.8 46.9 308.4)
OKLCHoklch(0.803 0.122 303.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfabff on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#cfabff on black: 10.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green67.1%
Blue100.0%

CMYK percentages

Cyan18.8%
Magenta32.9%
Yellow0.0%
Key (black)0.0%

Color previews

#cfabff text on a black background

contrast 10.92:1

Card sample

#cfabff text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfabff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfabff in the Color Lab