Skip to content

#8c05ff

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

RGB
140, 5, 255
HSL
272°, 100%, 51%
CMYK
45, 98, 0, 0
Luminance
0.1290

Every format

HEX#8c05ff
RGBrgb(140, 5, 255)
HSLhsl(272, 100%, 51%)
CMYKcmyk(45%, 98%, 0%, 0%)
LABlab(42.6 83.6 -90.4)
LCHlch(42.6 123.2 312.8)
OKLCHoklch(0.545 0.293 297.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8c05ff on white: 5.86:1
AA ✓ pass · AA-large · AAA
Aa
#8c05ff on black: 3.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green2.0%
Blue100.0%

CMYK percentages

Cyan45.1%
Magenta98.0%
Yellow0.0%
Key (black)0.0%

Color previews

#8c05ff text on a black background

contrast 3.58:1

Card sample

#8c05ff text on a white background

contrast 5.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8c05ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8c05ff in the Color Lab