Skip to content

#ac90fe

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

RGB
172, 144, 254
HSL
255°, 98%, 78%
CMYK
32, 43, 0, 0
Luminance
0.3587

Every format

HEX#ac90fe
RGBrgb(172, 144, 254)
HSLhsl(255, 98%, 78%)
CMYKcmyk(32%, 43%, 0%, 0%)
LABlab(66.4 34.1 -51.2)
LCHlch(66.4 61.5 303.6)
OKLCHoklch(0.724 0.157 293.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac90fe on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#ac90fe on black: 8.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green56.5%
Blue99.6%

CMYK percentages

Cyan32.3%
Magenta43.3%
Yellow0.0%
Key (black)0.4%

Color previews

#ac90fe text on a black background

contrast 8.17:1

Card sample

#ac90fe text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac90fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac90fe in the Color Lab