Skip to content

#cb7df4

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

RGB
203, 125, 244
HSL
279°, 84%, 72%
CMYK
17, 49, 0, 4
Luminance
0.3390

Every format

HEX#cb7df4
RGBrgb(203, 125, 244)
HSLhsl(279, 84%, 72%)
CMYKcmyk(17%, 49%, 0%, 4%)
LABlab(64.9 50.4 -48.0)
LCHlch(64.9 69.5 316.4)
OKLCHoklch(0.718 0.182 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb7df4 on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#cb7df4 on black: 7.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green49.0%
Blue95.7%

CMYK percentages

Cyan16.8%
Magenta48.8%
Yellow0.0%
Key (black)4.3%

Color previews

#cb7df4 text on a black background

contrast 7.78:1

Card sample

#cb7df4 text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb7df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb7df4 in the Color Lab