Skip to content

#cfbaff

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

RGB
207, 186, 255
HSL
258°, 100%, 87%
CMYK
19, 27, 0, 0
Luminance
0.5560

Every format

HEX#cfbaff
RGBrgb(207, 186, 255)
HSLhsl(258, 100%, 87%)
CMYKcmyk(19%, 27%, 0%, 0%)
LABlab(79.4 20.9 -31.3)
LCHlch(79.4 37.6 303.8)
OKLCHoklch(0.830 0.098 298.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbaff on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#cfbaff on black: 12.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green72.9%
Blue100.0%

CMYK percentages

Cyan18.8%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#cfbaff text on a black background

contrast 12.12:1

Card sample

#cfbaff text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfbaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbaff in the Color Lab