Skip to content

#a75dfd

a light, electric violet · warm · closest name: slateblue

RGB
167, 93, 253
HSL
268°, 98%, 68%
CMYK
34, 63, 0, 1
Luminance
0.2314

Every format

HEX#a75dfd
RGBrgb(167, 93, 253)
HSLhsl(268, 98%, 68%)
CMYKcmyk(34%, 63%, 0%, 1%)
LABlab(55.2 60.0 -68.6)
LCHlch(55.2 91.2 311.2)
OKLCHoklch(0.640 0.229 301.5)

Copy-ready code

/* CSS */
color: #a75dfd;
background-color: #a75dfd;
/* Tailwind (arbitrary) */
class="text-[#a75dfd] bg-[#a75dfd]"
/* SCSS */
$brand: #a75dfd;
/* SwiftUI */
Color(red: 0.655, green: 0.365, blue: 0.992)
/* Android */
Color.parseColor("#a75dfd")

Accessibility — WCAG contrast

Aa
#a75dfd on white: 3.73:1
AA ✗ fail · AA-large · AAA
Aa
#a75dfd on black: 5.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.5%
Green36.5%
Blue99.2%

CMYK percentages

Cyan34.0%
Magenta63.2%
Yellow0.0%
Key (black)0.8%

Color previews

#a75dfd text on a black background

contrast 5.63:1

Card sample

#a75dfd text on a white background

contrast 3.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(167, 93, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(167, 93, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a75dfd;
background: linear-gradient(135deg, #a75dfd, #FD5DE8);

Monochromatic scale

Palettes built from #a75dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a75dfd in the Color Lab