#AE5FC2#AE5FC2

#AE5FC2 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.5% C 0.165 H 319.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AE5FC2
RGBrgb(174, 95, 194)
HSLhsl(288, 45%, 57%)
HSVhsv(288, 51%, 76%)
CMYKcmyk(10.3%, 51%, 0%, 23.9%)
CIE-LABlab(53.04, 47.65, -38.74)
CIE-LCHlch(53.04, 61.41, 320.89°)
OKLaboklab(61.5% 0.1246 -0.1074)
OKLCHoklch(61.5% 0.165 319.2)
XYZxyz(31.2841, 21.0793, 53.4493)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5FC2 #73C25F
analogous
#7D5FC2 #AE5FC2 #C25FA5
triadic
#AE5FC2 #C2AE5F #5FC2AE
tetradic
#AE5FC2 #C27D5F #73C25F #5FA5C2
square
#AE5FC2 #C27D5F #73C25F #5FA5C2
split-complementary
#AE5FC2 #A5C25F #5FC27D
monochromatic
#6A2E79 #903FA5 #AE5FC2 #C48BD3 #DBB8E4

Accessibility & contrast

On white

4.03
#AE5FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AE5FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5FC2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5FC2#FFFFFF#000000##000000
##AE5FC21.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#6581BF
Tritanopia (blue-blind)
#AF6D88
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ae5fc2;
/* rgb */ color: rgb(174, 95, 194);
/* oklch */ color: oklch(61.5% 0.165 319.2);
Tailwind
colors: {
  custom: {
    50: '#c88fd5',
    500: '#ae5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #ae5fc2;
$custom-light: #c88fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5fc2",
  "rgb": {
    "r": 174,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 287.879,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61499,
    "c": 0.16452,
    "h": 319.2
  },
  "luminance": 0.21078
}

Semantic roles & 50–950 ramp

primary
#AE5FC2
secondary
#B2D3AA
accent
#D4536D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83

Preview Lab

Preview with #AE5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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