Skip to content

#cb2cfd

a balanced, electric violet · warm · closest name: magenta

RGB
203, 44, 253
HSL
286°, 98%, 58%
CMYK
20, 83, 0, 1
Luminance
0.2159

Every format

HEX#cb2cfd
RGBrgb(203, 44, 253)
HSLhsl(286, 98%, 58%)
CMYKcmyk(20%, 83%, 0%, 1%)
LABlab(53.6 84.6 -71.0)
LCHlch(53.6 110.5 320.0)
OKLCHoklch(0.638 0.288 315.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb2cfd on white: 3.95:1
AA ✗ fail · AA-large · AAA
Aa
#cb2cfd on black: 5.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green17.3%
Blue99.2%

CMYK percentages

Cyan19.8%
Magenta82.6%
Yellow0.0%
Key (black)0.8%

Color previews

#cb2cfd text on a black background

contrast 5.32:1

Card sample

#cb2cfd text on a white background

contrast 3.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb2cfd in the Color Lab