Skip to content

#cba0df

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

RGB
203, 160, 223
HSL
281°, 50%, 75%
CMYK
9, 28, 0, 13
Luminance
0.4317

Every format

HEX#cba0df
RGBrgb(203, 160, 223)
HSLhsl(281, 50%, 75%)
CMYKcmyk(9%, 28%, 0%, 13%)
LABlab(71.7 27.1 -25.9)
LCHlch(71.7 37.5 316.4)
OKLCHoklch(0.766 0.099 314.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cba0df on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#cba0df on black: 9.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green62.7%
Blue87.5%

CMYK percentages

Cyan9.0%
Magenta28.3%
Yellow0.0%
Key (black)12.5%

Color previews

#cba0df text on a black background

contrast 9.63:1

Card sample

#cba0df text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cba0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cba0df in the Color Lab