#AE5EC7#AE5EC7

#AE5EC7 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.6% C 0.171 H 317.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AE5EC7
RGBrgb(174, 94, 199)
HSLhsl(286, 48%, 57%)
HSVhsv(286, 53%, 78%)
CMYKcmyk(12.6%, 52.8%, 0%, 22%)
CIE-LABlab(53.09, 49.18, -41.53)
CIE-LCHlch(53.09, 64.37, 319.82°)
OKLaboklab(61.62% 0.1265 -0.1155)
OKLCHoklch(61.62% 0.171 317.6)
XYZxyz(31.7656, 21.1287, 56.4267)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5EC7 #77C75E
analogous
#795EC7 #AE5EC7 #C75EAC
triadic
#AE5EC7 #C7AE5E #5EC7AE
tetradic
#AE5EC7 #C7795E #77C75E #5EACC7
square
#AE5EC7 #C7795E #77C75E #5EACC7
split-complementary
#AE5EC7 #ACC75E #5EC779
monochromatic
#6B2C7F #913CAC #AE5EC7 #C58BD7 #DCB9E7

Accessibility & contrast

On white

4.02
#AE5EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AE5EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5EC7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5EC7#FFFFFF#000000##000000
##AE5EC71.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ACA
Deuteranopia (green-blind)
#6281C4
Tritanopia (blue-blind)
#AE6E8A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ae5ec7;
/* rgb */ color: rgb(174, 94, 199);
/* oklch */ color: oklch(61.6% 0.171 317.6);
Tailwind
colors: {
  custom: {
    50: '#c88fd8',
    500: '#ae5ec7',
    950: '#000000',
  },
}
SCSS
$custom: #ae5ec7;
$custom-light: #c88fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5ec7",
  "rgb": {
    "r": 174,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 285.714,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6162,
    "c": 0.17131,
    "h": 317.6
  },
  "luminance": 0.21128
}

Semantic roles & 50–950 ramp

primary
#AE5EC7
secondary
#B5D6AB
accent
#D85070
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83

Preview Lab

Preview with #AE5EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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