Skip to content

#cfb4ff

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

RGB
207, 180, 255
HSL
262°, 100%, 85%
CMYK
19, 29, 0, 0
Luminance
0.5313

Every format

HEX#cfb4ff
RGBrgb(207, 180, 255)
HSLhsl(262, 100%, 85%)
CMYKcmyk(19%, 29%, 0%, 0%)
LABlab(78.0 24.2 -33.5)
LCHlch(78.0 41.3 305.8)
OKLCHoklch(0.819 0.107 300.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb4ff on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#cfb4ff on black: 11.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green70.6%
Blue100.0%

CMYK percentages

Cyan18.8%
Magenta29.4%
Yellow0.0%
Key (black)0.0%

Color previews

#cfb4ff text on a black background

contrast 11.63:1

Card sample

#cfb4ff text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfb4ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb4ff in the Color Lab