Skip to content

#cb3dff

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

RGB
203, 61, 255
HSL
284°, 100%, 62%
CMYK
20, 76, 0, 0
Luminance
0.2325

Every format

HEX#cb3dff
RGBrgb(203, 61, 255)
HSLhsl(284, 100%, 62%)
CMYKcmyk(20%, 76%, 0%, 0%)
LABlab(55.3 80.3 -69.3)
LCHlch(55.3 106.1 319.2)
OKLCHoklch(0.651 0.276 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb3dff on white: 3.72:1
AA ✗ fail · AA-large · AAA
Aa
#cb3dff on black: 5.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green23.9%
Blue100.0%

CMYK percentages

Cyan20.4%
Magenta76.1%
Yellow0.0%
Key (black)0.0%

Color previews

#cb3dff text on a black background

contrast 5.65:1

Card sample

#cb3dff text on a white background

contrast 3.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb3dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb3dff in the Color Lab