Skip to content

#8074df

a light, vivid blue · warm · closest name: slateblue

RGB
128, 116, 223
HSL
247°, 63%, 67%
CMYK
43, 48, 0, 13
Luminance
0.2241

Every format

HEX#8074df
RGBrgb(128, 116, 223)
HSLhsl(247, 63%, 67%)
CMYKcmyk(43%, 48%, 0%, 13%)
LABlab(54.5 30.8 -53.3)
LCHlch(54.5 61.5 300.1)
OKLCHoklch(0.620 0.157 286.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8074df on white: 3.83:1
AA ✗ fail · AA-large · AAA
Aa
#8074df on black: 5.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green45.5%
Blue87.5%

CMYK percentages

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

Color previews

#8074df text on a black background

contrast 5.48:1

Card sample

#8074df text on a white background

contrast 3.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8074df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8074df in the Color Lab