Skip to content

#cb89eb

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

RGB
203, 137, 235
HSL
280°, 71%, 73%
CMYK
14, 42, 0, 8
Luminance
0.3659

Every format

HEX#cb89eb
RGBrgb(203, 137, 235)
HSLhsl(280, 71%, 73%)
CMYKcmyk(14%, 42%, 0%, 8%)
LABlab(67.0 42.1 -39.7)
LCHlch(67.0 57.9 316.7)
OKLCHoklch(0.732 0.153 314.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb89eb on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#cb89eb on black: 8.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green53.7%
Blue92.2%

CMYK percentages

Cyan13.6%
Magenta41.7%
Yellow0.0%
Key (black)7.8%

Color previews

#cb89eb text on a black background

contrast 8.32:1

Card sample

#cb89eb text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb89eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb89eb in the Color Lab