Skip to content

#cb2fed

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

RGB
203, 47, 237
HSL
289°, 84%, 56%
CMYK
14, 80, 0, 7
Luminance
0.2084

Every format

HEX#cb2fed
RGBrgb(203, 47, 237)
HSLhsl(289, 84%, 56%)
CMYKcmyk(14%, 80%, 0%, 7%)
LABlab(52.8 81.1 -63.4)
LCHlch(52.8 102.9 322.0)
OKLCHoklch(0.629 0.274 319.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb2fed on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#cb2fed on black: 5.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green18.4%
Blue92.9%

CMYK percentages

Cyan14.3%
Magenta80.2%
Yellow0.0%
Key (black)7.1%

Color previews

#cb2fed text on a black background

contrast 5.17:1

Card sample

#cb2fed text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2fed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb2fed in the Color Lab