Skip to content

#cfb2ff

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

RGB
207, 178, 255
HSL
263°, 100%, 85%
CMYK
19, 30, 0, 0
Luminance
0.5233

Every format

HEX#cfb2ff
RGBrgb(207, 178, 255)
HSLhsl(263, 100%, 85%)
CMYKcmyk(19%, 30%, 0%, 0%)
LABlab(77.5 25.3 -34.2)
LCHlch(77.5 42.6 306.4)
OKLCHoklch(0.816 0.110 301.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb2ff on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#cfb2ff on black: 11.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green69.8%
Blue100.0%

CMYK percentages

Cyan18.8%
Magenta30.2%
Yellow0.0%
Key (black)0.0%

Color previews

#cfb2ff text on a black background

contrast 11.47:1

Card sample

#cfb2ff text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfb2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb2ff in the Color Lab