Skip to content

#ac68fd

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

RGB
172, 104, 253
HSL
267°, 97%, 70%
CMYK
32, 59, 0, 1
Luminance
0.2576

Every format

HEX#ac68fd
RGBrgb(172, 104, 253)
HSLhsl(267, 97%, 70%)
CMYKcmyk(32%, 59%, 0%, 1%)
LABlab(57.8 55.6 -64.4)
LCHlch(57.8 85.0 310.8)
OKLCHoklch(0.660 0.215 301.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac68fd on white: 3.41:1
AA ✗ fail · AA-large · AAA
Aa
#ac68fd on black: 6.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green40.8%
Blue99.2%

CMYK percentages

Cyan32.0%
Magenta58.9%
Yellow0.0%
Key (black)0.8%

Color previews

#ac68fd text on a black background

contrast 6.15:1

Card sample

#ac68fd text on a white background

contrast 3.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac68fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac68fd in the Color Lab