Skip to content

#cba4df

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

RGB
203, 164, 223
HSL
280°, 48%, 76%
CMYK
9, 27, 0, 13
Luminance
0.4458

Every format

HEX#cba4df
RGBrgb(203, 164, 223)
HSLhsl(280, 48%, 76%)
CMYKcmyk(9%, 27%, 0%, 13%)
LABlab(72.6 24.9 -24.4)
LCHlch(72.6 34.9 315.6)
OKLCHoklch(0.774 0.092 314.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cba4df on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#cba4df on black: 9.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green64.3%
Blue87.5%

CMYK percentages

Cyan9.0%
Magenta26.5%
Yellow0.0%
Key (black)12.5%

Color previews

#cba4df text on a black background

contrast 9.92:1

Card sample

#cba4df text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cba4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cba4df in the Color Lab