Skip to content

#cba0fd

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

RGB
203, 160, 253
HSL
268°, 96%, 81%
CMYK
20, 37, 0, 1
Luminance
0.4493

Every format

HEX#cba0fd
RGBrgb(203, 160, 253)
HSLhsl(268, 96%, 81%)
CMYKcmyk(20%, 37%, 0%, 1%)
LABlab(72.8 33.5 -40.4)
LCHlch(72.8 52.5 309.7)
OKLCHoklch(0.779 0.136 304.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cba0fd on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#cba0fd on black: 9.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green62.7%
Blue99.2%

CMYK percentages

Cyan19.8%
Magenta36.8%
Yellow0.0%
Key (black)0.8%

Color previews

#cba0fd text on a black background

contrast 9.99:1

Card sample

#cba0fd text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cba0fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cba0fd in the Color Lab