Skip to content

#b205ff

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

RGB
178, 5, 255
HSL
282°, 100%, 51%
CMYK
30, 98, 0, 0
Luminance
0.1679

Every format

HEX#b205ff
RGBrgb(178, 5, 255)
HSLhsl(282, 100%, 51%)
CMYKcmyk(30%, 98%, 0%, 0%)
LABlab(48.0 87.4 -81.4)
LCHlch(48.0 119.4 317.1)
OKLCHoklch(0.593 0.299 309.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b205ff on white: 4.82:1
AA ✓ pass · AA-large · AAA
Aa
#b205ff on black: 4.36:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green2.0%
Blue100.0%

CMYK percentages

Cyan30.2%
Magenta98.0%
Yellow0.0%
Key (black)0.0%

Color previews

#b205ff text on a black background

contrast 4.36:1

Card sample

#b205ff text on a white background

contrast 4.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b205ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b205ff in the Color Lab