#AE5FA7#AE5FA7

#AE5FA7 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.2% C 0.138 H 330.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AE5FA7
RGBrgb(174, 95, 167)
HSLhsl(305, 33%, 53%)
HSVhsv(305, 45%, 68%)
CMYKcmyk(0%, 45.4%, 4%, 31.8%)
CIE-LABlab(51.81, 42.47, -25.01)
CIE-LCHlch(51.81, 49.29, 329.51°)
OKLaboklab(60.19% 0.12 -0.068)
OKLCHoklch(60.19% 0.138 330.4)
XYZxyz(28.5225, 19.9747, 38.9049)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5FA7 #5FAE66
analogous
#8D5FAE #AE5FA7 #AE5F80
triadic
#AE5FA7 #A7AE5F #5FA7AE
tetradic
#AE5FA7 #AE8D5F #5FAE66 #5F80AE
square
#AE5FA7 #AE8D5F #5FAE66 #5F80AE
split-complementary
#AE5FA7 #80AE5F #5FAE8D
monochromatic
#61315D #8A4684 #AE5FA7 #C388BD #D7B0D4

Accessibility & contrast

On white

4.20
#AE5FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AE5FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5FA7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5FA7#FFFFFF#000000##000000
##AE5FA71.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B75AA
Deuteranopia (green-blind)
#717FA5
Tritanopia (blue-blind)
#B3657B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ae5fa7;
/* rgb */ color: rgb(174, 95, 167);
/* oklch */ color: oklch(60.2% 0.138 330.4);
Tailwind
colors: {
  custom: {
    50: '#c88fc1',
    500: '#ae5fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ae5fa7;
$custom-light: #c88fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5fa7",
  "rgb": {
    "r": 174,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 305.316,
    "s": 32.78,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60186,
    "c": 0.13798,
    "h": 330.4
  },
  "luminance": 0.19973
}

Semantic roles & 50–950 ramp

primary
#AE5FA7
secondary
#A3C6A6
accent
#C9685F
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AE5FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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