Skip to content

#cb10ff

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

RGB
203, 16, 255
HSL
287°, 100%, 53%
CMYK
20, 94, 0, 0
Luminance
0.2029

Every format

HEX#cb10ff
RGBrgb(203, 16, 255)
HSLhsl(287, 100%, 53%)
CMYKcmyk(20%, 94%, 0%, 0%)
LABlab(52.2 89.6 -74.4)
LCHlch(52.2 116.5 320.3)
OKLCHoklch(0.629 0.303 316.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb10ff on white: 4.15:1
AA ✗ fail · AA-large · AAA
Aa
#cb10ff on black: 5.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green6.3%
Blue100.0%

CMYK percentages

Cyan20.4%
Magenta93.7%
Yellow0.0%
Key (black)0.0%

Color previews

#cb10ff text on a black background

contrast 5.06:1

Card sample

#cb10ff text on a white background

contrast 4.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb10ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb10ff in the Color Lab