Skip to content

#cfbeef

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

RGB
207, 190, 239
HSL
261°, 61%, 84%
CMYK
13, 21, 0, 6
Luminance
0.5632

Every format

HEX#cfbeef
RGBrgb(207, 190, 239)
HSLhsl(261, 61%, 84%)
CMYKcmyk(13%, 21%, 0%, 6%)
LABlab(79.8 15.3 -22.1)
LCHlch(79.8 26.9 304.8)
OKLCHoklch(0.832 0.070 300.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbeef on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#cfbeef on black: 12.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green74.5%
Blue93.7%

CMYK percentages

Cyan13.4%
Magenta20.5%
Yellow0.0%
Key (black)6.3%

Color previews

#cfbeef text on a black background

contrast 12.26:1

Card sample

#cfbeef text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfbeef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbeef in the Color Lab