#AE52FF#AE52FF

#AE52FF is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.6% C 0.246 H 304.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AE52FF
RGBrgb(174, 82, 255)
HSLhsl(272, 100%, 66%)
HSVhsv(272, 68%, 100%)
CMYKcmyk(31.8%, 67.8%, 0%, 0%)
CIE-LABlab(54.29, 67.02, -71.15)
CIE-LCHlch(54.29, 97.74, 313.29°)
OKLaboklab(63.56% 0.1396 -0.2021)
OKLCHoklch(63.56% 0.246 304.6)
XYZxyz(38.5188, 22.2534, 96.8544)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52FF #A3FF52
analogous
#5752FF #AE52FF #FF52F9
triadic
#AE52FF #FFAE52 #52FFAE
tetradic
#AE52FF #FF5752 #A3FF52 #52F9FF
square
#AE52FF #FF5752 #A3FF52 #52F9FF
split-complementary
#AE52FF #F9FF52 #52FF57
monochromatic
#7200D7 #9115FF #AE52FF #CB8FFF #E7CCFF

Accessibility & contrast

On white

3.85
#AE52FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AE52FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52FF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52FF#FFFFFF#000000##000000
##AE52FF1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0082FB
Tritanopia (blue-blind)
#9F7AA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ae52ff;
/* rgb */ color: rgb(174, 82, 255);
/* oklch */ color: oklch(63.6% 0.246 304.6);
Tailwind
colors: {
  custom: {
    50: '#cc89ff',
    500: '#ae52ff',
    950: '#000000',
  },
}
SCSS
$custom: #ae52ff;
$custom-light: #cc89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52ff",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 271.908,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63557,
    "c": 0.24566,
    "h": 304.6
  },
  "luminance": 0.22253
}

Semantic roles & 50–950 ramp

primary
#AE52FF
secondary
#D5F3BA
accent
#E6006B
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #AE52FF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AE52FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva