#AE1FA6#AE1FA6

#AE1FA6 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.3% C 0.222 H 330.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AE1FA6
RGBrgb(174, 31, 166)
HSLhsl(303, 70%, 40%)
HSVhsv(303, 82%, 68%)
CMYKcmyk(0%, 82.2%, 4.6%, 31.8%)
CIE-LABlab(42.36, 68.08, -39.22)
CIE-LCHlch(42.36, 78.57, 330.05°)
OKLaboklab(53.28% 0.1939 -0.1083)
OKLCHoklch(53.28% 0.222 330.8)
XYZxyz(24.8285, 12.7339, 37.2192)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1FA6 #1FAE27
analogous
#6F1FAE #AE1FA6 #AE1F5E
triadic
#AE1FA6 #A6AE1F #1FA6AE
tetradic
#AE1FA6 #AE6F1F #1FAE27 #1F5EAE
square
#AE1FA6 #AE6F1F #1FAE27 #1F5EAE
split-complementary
#AE1FA6 #5EAE1F #1FAE6F
monochromatic
#460C43 #7A1674 #AE1FA6 #DA30D1 #E364DC

Accessibility & contrast

On white

5.92
#AE1FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AE1FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1FA6
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1FA6#FFFFFF#000000##FFFFFF
##AE1FA61.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0358A9
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#B53564
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae1fa6;
/* rgb */ color: rgb(174, 31, 166);
/* oklch */ color: oklch(53.3% 0.222 330.8);
Tailwind
colors: {
  custom: {
    50: '#ca6fc1',
    500: '#ae1fa6',
    950: '#000000',
  },
}
SCSS
$custom: #ae1fa6;
$custom-light: #ca6fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1fa6",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 303.357,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.22208,
    "h": 330.8
  },
  "luminance": 0.12732
}

Semantic roles & 50–950 ramp

primary
#AE1FA6
secondary
#60C866
accent
#ED453B
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AE1FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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