#AE52E2#AE52E2

#AE52E2 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.6% C 0.217 H 311.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AE52E2
RGBrgb(174, 82, 226)
HSLhsl(278, 71%, 60%)
HSVhsv(278, 64%, 89%)
CMYKcmyk(23%, 63.7%, 0%, 11.4%)
CIE-LABlab(52.43, 60.68, -57.94)
CIE-LCHlch(52.43, 83.90, 316.32°)
OKLaboklab(61.62% 0.1422 -0.1634)
OKLCHoklch(61.62% 0.217 311)
XYZxyz(34.1978, 20.5250, 74.0970)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52E2 #86E252
analogous
#6652E2 #AE52E2 #E252CE
triadic
#AE52E2 #E2AE52 #52E2AE
tetradic
#AE52E2 #E26652 #86E252 #52CEE2
square
#AE52E2 #E26652 #86E252 #52CEE2
split-complementary
#AE52E2 #CEE252 #52E266
monochromatic
#6F1B9F #9423D3 #AE52E2 #C786EB #DFBBF4

Accessibility & contrast

On white

4.11
#AE52E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AE52E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52E2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52E2#FFFFFF#000000##000000
##AE52E21.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#427FDF
Tritanopia (blue-blind)
#A76F93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae52e2;
/* rgb */ color: rgb(174, 82, 226);
/* oklch */ color: oklch(61.6% 0.217 311.0);
Tailwind
colors: {
  custom: {
    50: '#ca88ec',
    500: '#ae52e2',
    950: '#000000',
  },
}
SCSS
$custom: #ae52e2;
$custom-light: #ca88ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52e2",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 278.333,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61621,
    "c": 0.21658,
    "h": 311
  },
  "luminance": 0.20524
}

Semantic roles & 50–950 ramp

primary
#AE52E2
secondary
#C0E3AC
accent
#D31258
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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