Skip to content

#8a63df

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

RGB
138, 99, 223
HSL
259°, 66%, 63%
CMYK
38, 56, 0, 13
Luminance
0.1965

Every format

HEX#8a63df
RGBrgb(138, 99, 223)
HSLhsl(259, 66%, 63%)
CMYKcmyk(38%, 56%, 0%, 13%)
LABlab(51.4 43.0 -58.0)
LCHlch(51.4 72.2 306.5)
OKLCHoklch(0.599 0.182 294.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8a63df on white: 4.26:1
AA ✗ fail · AA-large · AAA
Aa
#8a63df on black: 4.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green38.8%
Blue87.5%

CMYK percentages

Cyan38.1%
Magenta55.6%
Yellow0.0%
Key (black)12.5%

Color previews

#8a63df text on a black background

contrast 4.93:1

Card sample

#8a63df text on a white background

contrast 4.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 99, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 99, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8a63df;
background: linear-gradient(135deg, #8a63df, #DD63DF);

Monochromatic scale

Palettes built from #8a63df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8a63df in the Color Lab