Skip to content

#cfb4f0

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

RGB
207, 180, 240
HSL
267°, 67%, 82%
CMYK
14, 25, 0, 6
Luminance
0.5220

Every format

HEX#cfb4f0
RGBrgb(207, 180, 240)
HSLhsl(267, 67%, 82%)
CMYKcmyk(14%, 25%, 0%, 6%)
LABlab(77.4 21.0 -26.3)
LCHlch(77.4 33.6 308.6)
OKLCHoklch(0.813 0.088 305.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb4f0 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#cfb4f0 on black: 11.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green70.6%
Blue94.1%

CMYK percentages

Cyan13.7%
Magenta25.0%
Yellow0.0%
Key (black)5.9%

Color previews

#cfb4f0 text on a black background

contrast 11.44:1

Card sample

#cfb4f0 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfb4f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb4f0 in the Color Lab