#AE23E2#AE23E2

#AE23E2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.5% C 0.264 H 313.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AE23E2
RGBrgb(174, 35, 226)
HSLhsl(284, 77%, 51%)
HSVhsv(284, 85%, 89%)
CMYKcmyk(23%, 84.5%, 0%, 11.4%)
CIE-LABlab(46.57, 77.35, -67.40)
CIE-LCHlch(46.57, 102.60, 318.93°)
OKLaboklab(57.47% 0.1831 -0.1908)
OKLCHoklch(57.47% 0.264 313.8)
XYZxyz(31.7817, 15.6928, 73.2916)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE23E2 #57E223
analogous
#4E23E2 #AE23E2 #E223B6
triadic
#AE23E2 #E2AE23 #23E2AE
tetradic
#AE23E2 #E24E23 #57E223 #23B6E2
square
#AE23E2 #E24E23 #57E223 #23B6E2
split-complementary
#AE23E2 #B6E223 #23E24E
monochromatic
#5E107A #8717B1 #AE23E2 #C259E9 #D68FF0

Accessibility & contrast

On white

5.07
#AE23E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AE23E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE23E2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE23E2#FFFFFF#000000##FFFFFF
##AE23E21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#0071DE
Tritanopia (blue-blind)
#A95788
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ae23e2;
/* rgb */ color: rgb(174, 35, 226);
/* oklch */ color: oklch(57.5% 0.264 313.8);
Tailwind
colors: {
  custom: {
    50: '#cc73ec',
    500: '#ae23e2',
    950: '#000000',
  },
}
SCSS
$custom: #ae23e2;
$custom-light: #cc73ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ae23e2",
  "rgb": {
    "r": 174,
    "g": 35,
    "b": 226
  },
  "hsl": {
    "h": 283.665,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.26447,
    "h": 313.8
  },
  "luminance": 0.15692
}

Semantic roles & 50–950 ramp

primary
#AE23E2
secondary
#9DDB86
accent
#F33568
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140916
muted
#837B84

Preview Lab

Preview with #AE23E2

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

Preview Lab → · Contrast checker → · Palette generator →

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