Skip to content

#cba9df

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

RGB
203, 169, 223
HSL
278°, 46%, 77%
CMYK
9, 24, 0, 13
Luminance
0.4640

Every format

HEX#cba9df
RGBrgb(203, 169, 223)
HSLhsl(278, 46%, 77%)
CMYKcmyk(9%, 24%, 0%, 13%)
LABlab(73.8 22.2 -22.6)
LCHlch(73.8 31.7 314.5)
OKLCHoklch(0.783 0.084 312.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cba9df on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#cba9df on black: 10.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green66.3%
Blue87.5%

CMYK percentages

Cyan9.0%
Magenta24.2%
Yellow0.0%
Key (black)12.5%

Color previews

#cba9df text on a black background

contrast 10.28:1

Card sample

#cba9df text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cba9df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cba9df in the Color Lab