Skip to content

#803fcc

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

RGB
128, 63, 204
HSL
268°, 58%, 52%
CMYK
37, 69, 0, 20
Luminance
0.1250

Every format

HEX#803fcc
RGBrgb(128, 63, 204)
HSLhsl(268, 58%, 52%)
CMYKcmyk(37%, 69%, 0%, 20%)
LABlab(42.0 55.0 -62.5)
LCHlch(42.0 83.2 311.4)
OKLCHoklch(0.524 0.207 300.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#803fcc on white: 6.00:1
AA ✓ pass · AA-large · AAA
Aa
#803fcc on black: 3.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green24.7%
Blue80.0%

CMYK percentages

Cyan37.3%
Magenta69.1%
Yellow0.0%
Key (black)20.0%

Color previews

#803fcc text on a black background

contrast 3.50:1

Card sample

#803fcc text on a white background

contrast 6.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(128, 63, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 63, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #803fcc;
background: linear-gradient(135deg, #803fcc, #CC3FBA);

Monochromatic scale

Palettes built from #803fcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #803fcc in the Color Lab