Skip to content

#b02cfd

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

RGB
176, 44, 253
HSL
278°, 98%, 58%
CMYK
30, 83, 0, 1
Luminance
0.1812

Every format

HEX#b02cfd
RGBrgb(176, 44, 253)
HSLhsl(278, 98%, 58%)
CMYKcmyk(30%, 83%, 0%, 1%)
LABlab(49.6 80.6 -77.6)
LCHlch(49.6 111.9 316.1)
OKLCHoklch(0.603 0.281 308.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b02cfd on white: 4.54:1
AA ✓ pass · AA-large · AAA
Aa
#b02cfd on black: 4.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.0%
Green17.3%
Blue99.2%

CMYK percentages

Cyan30.4%
Magenta82.6%
Yellow0.0%
Key (black)0.8%

Color previews

#b02cfd text on a black background

contrast 4.62:1

Card sample

#b02cfd text on a white background

contrast 4.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b02cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b02cfd in the Color Lab