#AE22B0#AE22B0

#AE22B0 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.227 H 327.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AE22B0
RGBrgb(174, 34, 176)
HSLhsl(299, 68%, 41%)
HSVhsv(299, 81%, 69%)
CMYKcmyk(1.1%, 80.7%, 0%, 31%)
CIE-LABlab(43.18, 68.92, -43.86)
CIE-LCHlch(43.18, 81.69, 327.53°)
OKLaboklab(54.04% 0.1914 -0.1219)
OKLCHoklch(54.04% 0.227 327.5)
XYZxyz(25.8637, 13.2792, 42.2668)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE22B0 #24B022
analogous
#6722B0 #AE22B0 #B0226B
triadic
#AE22B0 #B0AE22 #22B0AE
tetradic
#AE22B0 #B06722 #24B022 #226BB0
square
#AE22B0 #B06722 #24B022 #226BB0
split-complementary
#AE22B0 #6BB022 #22B067
monochromatic
#490E49 #7B187D #AE22B0 #D637D8 #E16AE2

Accessibility & contrast

On white

5.74
#AE22B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AE22B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE22B0
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE22B0#FFFFFF#000000##FFFFFF
##AE22B01.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#4B6CAD
Tritanopia (blue-blind)
#B33C6A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae22b0;
/* rgb */ color: rgb(174, 34, 176);
/* oklch */ color: oklch(54.0% 0.227 327.5);
Tailwind
colors: {
  custom: {
    50: '#ca70c8',
    500: '#ae22b0',
    950: '#000000',
  },
}
SCSS
$custom: #ae22b0;
$custom-light: #ca70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ae22b0",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 299.155,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.22693,
    "h": 327.5
  },
  "luminance": 0.13277
}

Semantic roles & 50–950 ramp

primary
#AE22B0
secondary
#67C866
accent
#EA3D40
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE22B0

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

Preview Lab → · Contrast checker → · Palette generator →

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