#AE52DE#AE52DE

#AE52DE is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.4% C 0.213 H 312.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AE52DE
RGBrgb(174, 82, 222)
HSLhsl(279, 68%, 60%)
HSVhsv(279, 63%, 87%)
CMYKcmyk(21.6%, 63.1%, 0%, 12.9%)
CIE-LABlab(52.18, 59.84, -56.07)
CIE-LCHlch(52.18, 82.00, 316.86°)
OKLaboklab(61.37% 0.1424 -0.1579)
OKLCHoklch(61.37% 0.213 312)
XYZxyz(33.6553, 20.3080, 71.2400)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52DE #82DE52
analogous
#6852DE #AE52DE #DE52C8
triadic
#AE52DE #DEAE52 #52DEAE
tetradic
#AE52DE #DE6852 #82DE52 #52C8DE
square
#AE52DE #DE6852 #82DE52 #52C8DE
split-complementary
#AE52DE #C8DE52 #52DE68
monochromatic
#6E1D99 #9327CC #AE52DE #C685E8 #DEB9F2

Accessibility & contrast

On white

4.15
#AE52DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AE52DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52DE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52DE#FFFFFF#000000##000000
##AE52DE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C78E2
Deuteranopia (green-blind)
#467EDB
Tritanopia (blue-blind)
#A96D91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae52de;
/* rgb */ color: rgb(174, 82, 222);
/* oklch */ color: oklch(61.4% 0.213 312.0);
Tailwind
colors: {
  custom: {
    50: '#ca88e9',
    500: '#ae52de',
    950: '#000000',
  },
}
SCSS
$custom: #ae52de;
$custom-light: #ca88e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52de",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 279.429,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61369,
    "c": 0.21258,
    "h": 312
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#AE52DE
secondary
#BDE1AB
accent
#EB3D79
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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