#AE52DF#AE52DF

#AE52DF is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.214 H 311.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AE52DF
RGBrgb(174, 82, 223)
HSLhsl(279, 69%, 60%)
HSVhsv(279, 63%, 87%)
CMYKcmyk(22%, 63.2%, 0%, 12.5%)
CIE-LABlab(52.24, 60.05, -56.54)
CIE-LCHlch(52.24, 82.48, 316.72°)
OKLaboklab(61.43% 0.1423 -0.1592)
OKLCHoklch(61.43% 0.214 311.8)
XYZxyz(33.7897, 20.3618, 71.9480)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52DF #83DF52
analogous
#6852DF #AE52DF #DF52C9
triadic
#AE52DF #DFAE52 #52DFAE
tetradic
#AE52DF #DF6852 #83DF52 #52C9DF
square
#AE52DF #DF6852 #83DF52 #52C9DF
split-complementary
#AE52DF #C9DF52 #52DF68
monochromatic
#6E1D9A #9326CE #AE52DF #C686E9 #DEB9F2

Accessibility & contrast

On white

4.14
#AE52DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AE52DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52DF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52DF#FFFFFF#000000##000000
##AE52DF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0778E3
Deuteranopia (green-blind)
#457EDC
Tritanopia (blue-blind)
#A86D91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae52df;
/* rgb */ color: rgb(174, 82, 223);
/* oklch */ color: oklch(61.4% 0.214 311.8);
Tailwind
colors: {
  custom: {
    50: '#ca88ea',
    500: '#ae52df',
    950: '#000000',
  },
}
SCSS
$custom: #ae52df;
$custom-light: #ca88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52df",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 279.149,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61431,
    "c": 0.21358,
    "h": 311.8
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#AE52DF
secondary
#BEE2AB
accent
#EC3C79
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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