#AE2FE2#AE2FE2

#AE2FE2 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 58.2% C 0.255 H 313.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AE2FE2
RGBrgb(174, 47, 226)
HSLhsl(283, 76%, 54%)
HSVhsv(283, 79%, 89%)
CMYKcmyk(23%, 79.2%, 0%, 11.4%)
CIE-LABlab(47.65, 74.18, -65.64)
CIE-LCHlch(47.65, 99.05, 318.49°)
OKLaboklab(58.23% 0.1753 -0.1857)
OKLCHoklch(58.23% 0.255 313.4)
XYZxyz(32.1971, 16.5237, 73.4301)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2FE2 #63E22F
analogous
#542FE2 #AE2FE2 #E22FBC
triadic
#AE2FE2 #E2AE2F #2FE2AE
tetradic
#AE2FE2 #E2542F #63E22F #2FBCE2
square
#AE2FE2 #E2542F #63E22F #2FBCE2
split-complementary
#AE2FE2 #BCE22F #2FE254
monochromatic
#631284 #8B1ABA #AE2FE2 #C365E9 #D89AF1

Accessibility & contrast

On white

4.88
#AE2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AE2FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2FE2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2FE2#FFFFFF#000000##FFFFFF
##AE2FE21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#1374DE
Tritanopia (blue-blind)
#A85B8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae2fe2;
/* rgb */ color: rgb(174, 47, 226);
/* oklch */ color: oklch(58.2% 0.255 313.4);
Tailwind
colors: {
  custom: {
    50: '#cb77ec',
    500: '#ae2fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ae2fe2;
$custom-light: #cb77ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2fe2",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 282.57,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58226,
    "c": 0.25543,
    "h": 313.4
  },
  "luminance": 0.16523
}

Semantic roles & 50–950 ramp

primary
#AE2FE2
secondary
#A6DD90
accent
#F2366C
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AE2FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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