Skip to content

#cfbaef

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

RGB
207, 186, 239
HSL
264°, 62%, 83%
CMYK
13, 22, 0, 6
Luminance
0.5462

Every format

HEX#cfbaef
RGBrgb(207, 186, 239)
HSLhsl(264, 62%, 83%)
CMYKcmyk(13%, 22%, 0%, 6%)
LABlab(78.8 17.5 -23.6)
LCHlch(78.8 29.4 306.6)
OKLCHoklch(0.824 0.076 302.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green72.9%
Blue93.7%

CMYK percentages

Cyan13.4%
Magenta22.2%
Yellow0.0%
Key (black)6.3%

Color previews

#cfbaef text on a black background

contrast 11.92:1

Card sample

#cfbaef text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfbaef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbaef in the Color Lab