Skip to content

#cb8fdf

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

RGB
203, 143, 223
HSL
285°, 56%, 72%
CMYK
9, 36, 0, 13
Luminance
0.3767

Every format

HEX#cb8fdf
RGBrgb(203, 143, 223)
HSLhsl(285, 56%, 72%)
CMYKcmyk(9%, 36%, 0%, 13%)
LABlab(67.8 36.4 -31.8)
LCHlch(67.8 48.4 318.8)
OKLCHoklch(0.737 0.129 317.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb8fdf on white: 2.46:1
AA ✗ fail · AA-large · AAA
Aa
#cb8fdf on black: 8.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green56.1%
Blue87.5%

CMYK percentages

Cyan9.0%
Magenta35.9%
Yellow0.0%
Key (black)12.5%

Color previews

#cb8fdf text on a black background

contrast 8.53:1

Card sample

#cb8fdf text on a white background

contrast 2.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 143, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 143, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb8fdf;
background: linear-gradient(135deg, #cb8fdf, #DF8FBE);

Monochromatic scale

Palettes built from #cb8fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb8fdf in the Color Lab