#AE22BC#AE22BC

#AE22BC is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.8% C 0.236 H 323.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AE22BC
RGBrgb(174, 34, 188)
HSLhsl(295, 69%, 44%)
HSVhsv(295, 82%, 74%)
CMYKcmyk(7.4%, 81.9%, 0%, 26.3%)
CIE-LABlab(43.91, 70.88, -49.76)
CIE-LCHlch(43.91, 86.60, 324.93°)
OKLaboklab(54.79% 0.1905 -0.1391)
OKLCHoklch(54.79% 0.236 323.9)
XYZxyz(27.1039, 13.7753, 48.7985)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE22BC #30BC22
analogous
#6122BC #AE22BC #BC227D
triadic
#AE22BC #BCAE22 #22BCAE
tetradic
#AE22BC #BC6122 #30BC22 #227DBC
square
#AE22BC #BC6122 #30BC22 #227DBC
split-complementary
#AE22BC #7DBC22 #22BC61
monochromatic
#4E0F54 #7E1988 #AE22BC #CE3FDC #DB73E6

Accessibility & contrast

On white

5.59
#AE22BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AE22BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE22BC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE22BC#FFFFFF#000000##FFFFFF
##AE22BC1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#B14371
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae22bc;
/* rgb */ color: rgb(174, 34, 188);
/* oklch */ color: oklch(54.8% 0.236 323.9);
Tailwind
colors: {
  custom: {
    50: '#cb71d1',
    500: '#ae22bc',
    950: '#000000',
  },
}
SCSS
$custom: #ae22bc;
$custom-light: #cb71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae22bc",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 294.545,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54792,
    "c": 0.23584,
    "h": 323.9
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

primary
#AE22BC
secondary
#76CD6D
accent
#EC3C4C
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #AE22BC

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

Preview Lab → · Contrast checker → · Palette generator →

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