Skip to content

#cb09ff

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

RGB
203, 9, 255
HSL
287°, 100%, 52%
CMYK
20, 97, 0, 0
Luminance
0.2011

Every format

HEX#cb09ff
RGBrgb(203, 9, 255)
HSLhsl(287, 100%, 52%)
CMYKcmyk(20%, 97%, 0%, 0%)
LABlab(52.0 90.2 -74.7)
LCHlch(52.0 117.2 320.4)
OKLCHoklch(0.627 0.305 316.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb09ff on white: 4.18:1
AA ✗ fail · AA-large · AAA
Aa
#cb09ff on black: 5.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green3.5%
Blue100.0%

CMYK percentages

Cyan20.4%
Magenta96.5%
Yellow0.0%
Key (black)0.0%

Color previews

#cb09ff text on a black background

contrast 5.02:1

Card sample

#cb09ff text on a white background

contrast 4.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb09ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb09ff in the Color Lab