Skip to content

#cfafdb

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

RGB
207, 175, 219
HSL
284°, 38%, 77%
CMYK
6, 20, 0, 14
Luminance
0.4904

Every format

HEX#cfafdb
RGBrgb(207, 175, 219)
HSLhsl(284, 38%, 77%)
CMYKcmyk(6%, 20%, 0%, 14%)
LABlab(75.5 19.4 -17.8)
LCHlch(75.5 26.4 317.5)
OKLCHoklch(0.796 0.070 316.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfafdb on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#cfafdb on black: 10.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green68.6%
Blue85.9%

CMYK percentages

Cyan5.5%
Magenta20.1%
Yellow0.0%
Key (black)14.1%

Color previews

#cfafdb text on a black background

contrast 10.81:1

Card sample

#cfafdb text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfafdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfafdb in the Color Lab