Skip to content

#cfbcfa

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

RGB
207, 188, 250
HSL
258°, 86%, 86%
CMYK
17, 25, 0, 2
Luminance
0.5613

Every format

HEX#cfbcfa
RGBrgb(207, 188, 250)
HSLhsl(258, 86%, 86%)
CMYKcmyk(17%, 25%, 0%, 2%)
LABlab(79.7 18.8 -28.1)
LCHlch(79.7 33.8 303.7)
OKLCHoklch(0.832 0.088 298.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbcfa on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#cfbcfa on black: 12.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green73.7%
Blue98.0%

CMYK percentages

Cyan17.2%
Magenta24.8%
Yellow0.0%
Key (black)2.0%

Color previews

#cfbcfa text on a black background

contrast 12.23:1

Card sample

#cfbcfa text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfbcfa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbcfa in the Color Lab