Skip to content

#ac4fee

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

RGB
172, 79, 238
HSL
275°, 82%, 62%
CMYK
28, 67, 0, 7
Luminance
0.2054

Every format

HEX#ac4fee
RGBrgb(172, 79, 238)
HSLhsl(275, 82%, 62%)
CMYKcmyk(28%, 67%, 0%, 7%)
LABlab(52.4 64.2 -64.7)
LCHlch(52.4 91.1 314.8)
OKLCHoklch(0.618 0.232 307.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac4fee on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#ac4fee on black: 5.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green31.0%
Blue93.3%

CMYK percentages

Cyan27.7%
Magenta66.8%
Yellow0.0%
Key (black)6.7%

Color previews

#ac4fee text on a black background

contrast 5.11:1

Card sample

#ac4fee text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4fee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac4fee in the Color Lab