#AE5FB7#AE5FB7

#AE5FB7 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 60.9% C 0.153 H 323.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AE5FB7
RGBrgb(174, 95, 183)
HSLhsl(294, 38%, 55%)
HSVhsv(294, 48%, 72%)
CMYKcmyk(4.9%, 48.1%, 0%, 28.2%)
CIE-LABlab(52.51, 45.48, -33.22)
CIE-LCHlch(52.51, 56.32, 323.85°)
OKLaboklab(60.94% 0.1231 -0.0915)
OKLCHoklch(60.94% 0.153 323.4)
XYZxyz(30.0942, 20.6033, 47.1822)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5FB7 #68B75F
analogous
#825FB7 #AE5FB7 #B75F94
triadic
#AE5FB7 #B7AE5F #5FB7AE
tetradic
#AE5FB7 #B7825F #68B75F #5F94B7
square
#AE5FB7 #B7825F #68B75F #5F94B7
split-complementary
#AE5FB7 #94B75F #5FB782
monochromatic
#65306B #8D4396 #AE5FB7 #C389CA #D9B3DD

Accessibility & contrast

On white

4.10
#AE5FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AE5FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5FB7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5FB7#FFFFFF#000000##000000
##AE5FB71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5477BA
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#B16A82
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae5fb7;
/* rgb */ color: rgb(174, 95, 183);
/* oklch */ color: oklch(60.9% 0.153 323.4);
Tailwind
colors: {
  custom: {
    50: '#c88fcd',
    500: '#ae5fb7',
    950: '#000000',
  },
}
SCSS
$custom: #ae5fb7;
$custom-light: #c88fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5fb7",
  "rgb": {
    "r": 174,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 293.864,
    "s": 37.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6094,
    "c": 0.15335,
    "h": 323.4
  },
  "luminance": 0.20602
}

Semantic roles & 50–950 ramp

primary
#AE5FB7
secondary
#AACCA6
accent
#CE5A66
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D13
muted
#827D82

Preview Lab

Preview with #AE5FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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