Skip to content

#a25df3

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

RGB
162, 93, 243
HSL
268°, 86%, 66%
CMYK
33, 62, 0, 5
Luminance
0.2198

Every format

HEX#a25df3
RGBrgb(162, 93, 243)
HSLhsl(268, 86%, 66%)
CMYKcmyk(33%, 62%, 0%, 5%)
LABlab(54.0 56.6 -65.0)
LCHlch(54.0 86.2 311.0)
OKLCHoklch(0.628 0.217 301.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a25df3 on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#a25df3 on black: 5.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green36.5%
Blue95.3%

CMYK percentages

Cyan33.3%
Magenta61.7%
Yellow0.0%
Key (black)4.7%

Color previews

#a25df3 text on a black background

contrast 5.40:1

Card sample

#a25df3 text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 93, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 93, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a25df3;
background: linear-gradient(135deg, #a25df3, #F35DE0);

Monochromatic scale

Palettes built from #a25df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a25df3 in the Color Lab