Skip to content

#cfb2f0

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

RGB
207, 178, 240
HSL
268°, 67%, 82%
CMYK
14, 26, 0, 6
Luminance
0.5140

Every format

HEX#cfb2f0
RGBrgb(207, 178, 240)
HSLhsl(268, 67%, 82%)
CMYKcmyk(14%, 26%, 0%, 6%)
LABlab(76.9 22.1 -27.0)
LCHlch(76.9 34.9 309.2)
OKLCHoklch(0.810 0.091 305.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb2f0 on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#cfb2f0 on black: 11.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green69.8%
Blue94.1%

CMYK percentages

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

Color previews

#cfb2f0 text on a black background

contrast 11.28:1

Card sample

#cfb2f0 text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfb2f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb2f0 in the Color Lab