#AE2AEB#AE2AEB

#AE2AEB is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.5% C 0.267 H 311.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AE2AEB
RGBrgb(174, 42, 235)
HSLhsl(281, 83%, 54%)
HSVhsv(281, 82%, 92%)
CMYKcmyk(26%, 82.1%, 0%, 7.8%)
CIE-LABlab(47.82, 77.31, -70.47)
CIE-LCHlch(47.82, 104.61, 317.65°)
OKLaboklab(58.55% 0.1767 -0.1999)
OKLCHoklch(58.55% 0.267 311.5)
XYZxyz(33.2761, 16.6537, 80.0427)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2AEB #67EB2A
analogous
#4D2AEB #AE2AEB #EB2AC8
triadic
#AE2AEB #EBAE2A #2AEBAE
tetradic
#AE2AEB #EB4D2A #67EB2A #2AC8EB
square
#AE2AEB #EB4D2A #67EB2A #2AC8EB
split-complementary
#AE2AEB #C8EB2A #2AEB4D
monochromatic
#650D8D #8D13C5 #AE2AEB #C362F0 #D99AF6

Accessibility & contrast

On white

4.85
#AE2AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AE2AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2AEB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2AEB#FFFFFF#000000##FFFFFF
##AE2AEB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#A65E8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae2aeb;
/* rgb */ color: rgb(174, 42, 235);
/* oklch */ color: oklch(58.5% 0.267 311.5);
Tailwind
colors: {
  custom: {
    50: '#cc76f2',
    500: '#ae2aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ae2aeb;
$custom-light: #cc76f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2aeb",
  "rgb": {
    "r": 174,
    "g": 42,
    "b": 235
  },
  "hsl": {
    "h": 281.036,
    "s": 82.833,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58546,
    "c": 0.26683,
    "h": 311.5
  },
  "luminance": 0.16653
}

Semantic roles & 50–950 ramp

primary
#AE2AEB
secondary
#A9E18F
accent
#F92F6F
background
#FDF7FF
surface
#FAEEFE
border
#D3C9D6
text
#140A17
muted
#837C85

Preview Lab

Preview with #AE2AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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