#AE57EC#AE57EC

#AE57EC is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.9% C 0.220 H 308.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AE57EC
RGBrgb(174, 87, 236)
HSLhsl(275, 80%, 63%)
HSVhsv(275, 63%, 93%)
CMYKcmyk(26.3%, 63.1%, 0%, 7.5%)
CIE-LABlab(53.89, 60.51, -61.21)
CIE-LCHlch(53.89, 86.08, 314.67°)
OKLaboklab(62.88% 0.136 -0.173)
OKLCHoklch(62.88% 0.22 308.2)
XYZxyz(36.0010, 21.8717, 81.6657)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE57EC #95EC57
analogous
#6357EC #AE57EC #EC57DF
triadic
#AE57EC #ECAE57 #57ECAE
tetradic
#AE57EC #EC6357 #95EC57 #57DFEC
square
#AE57EC #EC6357 #95EC57 #57DFEC
split-complementary
#AE57EC #DFEC57 #57EC63
monochromatic
#7214B4 #9320E6 #AE57EC #C98EF2 #E3C5F8

Accessibility & contrast

On white

3.91
#AE57EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AE57EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE57EC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE57EC#FFFFFF#000000##000000
##AE57EC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#A5759A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ae57ec;
/* rgb */ color: rgb(174, 87, 236);
/* oklch */ color: oklch(62.9% 0.220 308.2);
Tailwind
colors: {
  custom: {
    50: '#ca8bf3',
    500: '#ae57ec',
    950: '#000000',
  },
}
SCSS
$custom: #ae57ec;
$custom-light: #ca8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae57ec",
  "rgb": {
    "r": 174,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 275.034,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62875,
    "c": 0.22005,
    "h": 308.2
  },
  "luminance": 0.21871
}

Semantic roles & 50–950 ramp

primary
#AE57EC
secondary
#CBEAB5
accent
#DC0A61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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