#AE22E3#AE22E3

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

Color values

HEX#AE22E3
RGBrgb(174, 34, 227)
HSLhsl(284, 78%, 51%)
HSVhsv(284, 85%, 89%)
CMYKcmyk(23.3%, 85%, 0%, 11%)
CIE-LABlab(46.56, 77.76, -67.98)
CIE-LCHlch(46.56, 103.28, 318.84°)
OKLaboklab(57.49% 0.1834 -0.1925)
OKLCHoklch(57.49% 0.266 313.6)
XYZxyz(31.8903, 15.6899, 74.0067)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE22E3 #57E322
analogous
#4D22E3 #AE22E3 #E322B8
triadic
#AE22E3 #E3AE22 #22E3AE
tetradic
#AE22E3 #E34D22 #57E322 #22B8E3
square
#AE22E3 #E34D22 #57E322 #22B8E3
split-complementary
#AE22E3 #B8E322 #22E34D
monochromatic
#5E107B #8716B1 #AE22E3 #C258EA #D68FF1

Accessibility & contrast

On white

5.08
#AE22E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE22E3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE22E3#FFFFFF#000000##FFFFFF
##AE22E31.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E8
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#A85788
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ae22e3;
/* rgb */ color: rgb(174, 34, 227);
/* oklch */ color: oklch(57.5% 0.266 313.6);
Tailwind
colors: {
  custom: {
    50: '#cc73ed',
    500: '#ae22e3',
    950: '#000000',
  },
}
SCSS
$custom: #ae22e3;
$custom-light: #cc73ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ae22e3",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 227
  },
  "hsl": {
    "h": 283.523,
    "s": 77.51,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57489,
    "c": 0.2659,
    "h": 313.6
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE22E3

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

Preview Lab → · Contrast checker → · Palette generator →

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