#AE5FC8#AE5FC8

#AE5FC8 is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.8% C 0.171 H 317.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AE5FC8
RGBrgb(174, 95, 200)
HSLhsl(285, 49%, 58%)
HSVhsv(285, 53%, 78%)
CMYKcmyk(13%, 52.5%, 0%, 21.6%)
CIE-LABlab(53.34, 48.87, -41.71)
CIE-LCHlch(53.34, 64.25, 319.52°)
OKLaboklab(61.82% 0.1253 -0.116)
OKLCHoklch(61.82% 0.171 317.2)
XYZxyz(31.9716, 21.3543, 57.0700)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5FC8 #79C85F
analogous
#795FC8 #AE5FC8 #C85FAD
triadic
#AE5FC8 #C8AE5F #5FC8AE
tetradic
#AE5FC8 #C8795F #79C85F #5FADC8
square
#AE5FC8 #C8795F #79C85F #5FADC8
split-complementary
#AE5FC8 #ADC85F #5FC879
monochromatic
#6C2C80 #923CAE #AE5FC8 #C58DD8 #DCBAE7

Accessibility & contrast

On white

3.98
#AE5FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#AE5FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5FC8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5FC8#FFFFFF#000000##000000
##AE5FC81.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACB
Deuteranopia (green-blind)
#6282C5
Tritanopia (blue-blind)
#AD6F8B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ae5fc8;
/* rgb */ color: rgb(174, 95, 200);
/* oklch */ color: oklch(61.8% 0.171 317.2);
Tailwind
colors: {
  custom: {
    50: '#c88fd9',
    500: '#ae5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #ae5fc8;
$custom-light: #c88fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5fc8",
  "rgb": {
    "r": 174,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 285.143,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61817,
    "c": 0.17075,
    "h": 317.2
  },
  "luminance": 0.21353
}

Semantic roles & 50–950 ramp

primary
#AE5FC8
secondary
#B7D6AC
accent
#D84F71
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #AE5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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