Skip to content

#ac65ff

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

RGB
172, 101, 255
HSL
268°, 100%, 70%
CMYK
33, 60, 0, 0
Luminance
0.2530

Every format

HEX#ac65ff
RGBrgb(172, 101, 255)
HSLhsl(268, 100%, 70%)
CMYKcmyk(33%, 60%, 0%, 0%)
LABlab(57.4 57.6 -66.2)
LCHlch(57.4 87.7 311.0)
OKLCHoklch(0.657 0.221 301.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac65ff on white: 3.47:1
AA ✗ fail · AA-large · AAA
Aa
#ac65ff on black: 6.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green39.6%
Blue100.0%

CMYK percentages

Cyan32.5%
Magenta60.4%
Yellow0.0%
Key (black)0.0%

Color previews

#ac65ff text on a black background

contrast 6.06:1

Card sample

#ac65ff text on a white background

contrast 3.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac65ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac65ff in the Color Lab