Skip to content

#ad65eb

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

RGB
173, 101, 235
HSL
272°, 77%, 66%
CMYK
26, 57, 0, 8
Luminance
0.2419

Every format

HEX#ad65eb
RGBrgb(173, 101, 235)
HSLhsl(272, 77%, 66%)
CMYKcmyk(26%, 57%, 0%, 8%)
LABlab(56.3 53.1 -56.8)
LCHlch(56.3 77.8 313.1)
OKLCHoklch(0.646 0.199 306.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad65eb on white: 3.60:1
AA ✗ fail · AA-large · AAA
Aa
#ad65eb on black: 5.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green39.6%
Blue92.2%

CMYK percentages

Cyan26.4%
Magenta57.0%
Yellow0.0%
Key (black)7.8%

Color previews

#ad65eb text on a black background

contrast 5.84:1

Card sample

#ad65eb text on a white background

contrast 3.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad65eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad65eb in the Color Lab