Skip to content

#cfb8ff

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

RGB
207, 184, 255
HSL
259°, 100%, 86%
CMYK
19, 28, 0, 0
Luminance
0.5477

Every format

HEX#cfb8ff
RGBrgb(207, 184, 255)
HSLhsl(259, 100%, 86%)
CMYKcmyk(19%, 28%, 0%, 0%)
LABlab(78.9 22.0 -32.0)
LCHlch(78.9 38.9 304.5)
OKLCHoklch(0.827 0.101 299.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb8ff on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#cfb8ff on black: 11.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green72.2%
Blue100.0%

CMYK percentages

Cyan18.8%
Magenta27.8%
Yellow0.0%
Key (black)0.0%

Color previews

#cfb8ff text on a black background

contrast 11.95:1

Card sample

#cfb8ff text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfb8ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb8ff in the Color Lab