#AE52E7#AE52E7

#AE52E7 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.9% C 0.222 H 309.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AE52E7
RGBrgb(174, 82, 231)
HSLhsl(277, 76%, 61%)
HSVhsv(277, 65%, 91%)
CMYKcmyk(24.7%, 64.5%, 0%, 9.4%)
CIE-LABlab(52.73, 61.75, -60.27)
CIE-LCHlch(52.73, 86.29, 315.70°)
OKLaboklab(61.94% 0.1419 -0.1702)
OKLCHoklch(61.94% 0.222 309.8)
XYZxyz(34.8938, 20.8035, 77.7631)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52E7 #8BE752
analogous
#6452E7 #AE52E7 #E752D6
triadic
#AE52E7 #E7AE52 #52E7AE
tetradic
#AE52E7 #E76452 #8BE752 #52D6E7
square
#AE52E7 #E76452 #8BE752 #52D6E7
split-complementary
#AE52E7 #D6E752 #52E764
monochromatic
#7017A7 #941FDD #AE52E7 #C788EE #E0BDF6

Accessibility & contrast

On white

4.07
#AE52E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AE52E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52E7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52E7#FFFFFF#000000##000000
##AE52E71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#3D7FE4
Tritanopia (blue-blind)
#A67096
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ae52e7;
/* rgb */ color: rgb(174, 82, 231);
/* oklch */ color: oklch(61.9% 0.222 309.8);
Tailwind
colors: {
  custom: {
    50: '#ca88ef',
    500: '#ae52e7',
    950: '#000000',
  },
}
SCSS
$custom: #ae52e7;
$custom-light: #ca88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52e7",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 277.047,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.22158,
    "h": 309.8
  },
  "luminance": 0.20803
}

Semantic roles & 50–950 ramp

primary
#AE52E7
secondary
#C4E6AF
accent
#D80E5B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE52E7

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

Preview Lab → · Contrast checker → · Palette generator →

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