#AE5FB8#AE5FB8

#AE5FB8 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.0% C 0.154 H 323.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AE5FB8
RGBrgb(174, 95, 184)
HSLhsl(293, 39%, 55%)
HSVhsv(293, 48%, 72%)
CMYKcmyk(5.4%, 48.4%, 0%, 27.8%)
CIE-LABlab(52.56, 45.67, -33.73)
CIE-LCHlch(52.56, 56.77, 323.55°)
OKLaboklab(60.99% 0.1232 -0.093)
OKLCHoklch(60.99% 0.154 323)
XYZxyz(30.1986, 20.6451, 47.7323)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5FB8 #69B85F
analogous
#815FB8 #AE5FB8 #B85F96
triadic
#AE5FB8 #B8AE5F #5FB8AE
tetradic
#AE5FB8 #B8815F #69B85F #5F96B8
square
#AE5FB8 #B8815F #69B85F #5F96B8
split-complementary
#AE5FB8 #96B85F #5FB881
monochromatic
#66306C #8D4397 #AE5FB8 #C389CB #D9B4DE

Accessibility & contrast

On white

4.09
#AE5FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AE5FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5FB8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5FB8#FFFFFF#000000##000000
##AE5FB81.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5377BB
Deuteranopia (green-blind)
#6A81B5
Tritanopia (blue-blind)
#B16A83
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae5fb8;
/* rgb */ color: rgb(174, 95, 184);
/* oklch */ color: oklch(61.0% 0.154 323.0);
Tailwind
colors: {
  custom: {
    50: '#c88fcd',
    500: '#ae5fb8',
    950: '#000000',
  },
}
SCSS
$custom: #ae5fb8;
$custom-light: #c88fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5fb8",
  "rgb": {
    "r": 174,
    "g": 95,
    "b": 184
  },
  "hsl": {
    "h": 293.258,
    "s": 38.528,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.15435,
    "h": 323
  },
  "luminance": 0.20644
}

Semantic roles & 50–950 ramp

primary
#AE5FB8
secondary
#ABCCA7
accent
#CE5967
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D13
muted
#827D82

Preview Lab

Preview with #AE5FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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