Skip to content

#8060df

a balanced, vivid violet · warm · closest name: slateblue

RGB
128, 96, 223
HSL
255°, 67%, 63%
CMYK
43, 57, 0, 13
Luminance
0.1828

Every format

HEX#8060df
RGBrgb(128, 96, 223)
HSLhsl(255, 67%, 63%)
CMYKcmyk(43%, 57%, 0%, 13%)
LABlab(49.8 42.5 -60.7)
LCHlch(49.8 74.1 305.0)
OKLCHoklch(0.585 0.185 291.2)

Copy-ready code

/* CSS */
color: #8060df;
background-color: #8060df;
/* Tailwind (arbitrary) */
class="text-[#8060df] bg-[#8060df]"
/* SCSS */
$brand: #8060df;
/* SwiftUI */
Color(red: 0.502, green: 0.376, blue: 0.875)
/* Android */
Color.parseColor("#8060df")

Accessibility — WCAG contrast

Aa
#8060df on white: 4.51:1
AA ✓ pass · AA-large · AAA
Aa
#8060df on black: 4.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green37.6%
Blue87.5%

CMYK percentages

Cyan42.6%
Magenta57.0%
Yellow0.0%
Key (black)12.5%

Color previews

#8060df text on a black background

contrast 4.66:1

Card sample

#8060df text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(128, 96, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 96, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8060df;
background: linear-gradient(135deg, #8060df, #D560DF);

Monochromatic scale

Palettes built from #8060df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8060df in the Color Lab