Skip to content

#cb3cfd

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

RGB
203, 60, 253
HSL
285°, 98%, 61%
CMYK
20, 76, 0, 1
Luminance
0.2302

Every format

HEX#cb3cfd
RGBrgb(203, 60, 253)
HSLhsl(285, 98%, 61%)
CMYKcmyk(20%, 76%, 0%, 1%)
LABlab(55.1 80.3 -68.6)
LCHlch(55.1 105.6 319.5)
OKLCHoklch(0.649 0.275 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb3cfd on white: 3.75:1
AA ✗ fail · AA-large · AAA
Aa
#cb3cfd on black: 5.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green23.5%
Blue99.2%

CMYK percentages

Cyan19.8%
Magenta76.3%
Yellow0.0%
Key (black)0.8%

Color previews

#cb3cfd text on a black background

contrast 5.60:1

Card sample

#cb3cfd text on a white background

contrast 3.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb3cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb3cfd in the Color Lab