Skip to content

#cfb3ff

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

RGB
207, 179, 255
HSL
262°, 100%, 85%
CMYK
19, 30, 0, 0
Luminance
0.5273

Every format

HEX#cfb3ff
RGBrgb(207, 179, 255)
HSLhsl(262, 100%, 85%)
CMYKcmyk(19%, 30%, 0%, 0%)
LABlab(77.7 24.7 -33.9)
LCHlch(77.7 41.9 306.1)
OKLCHoklch(0.818 0.109 300.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb3ff on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#cfb3ff on black: 11.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#cfb3ff text on a black background

contrast 11.55:1

Card sample

#cfb3ff text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfb3ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb3ff in the Color Lab