#AA22E3#AA22E3

#AA22E3 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.9% C 0.265 H 312.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AA22E3
RGBrgb(170, 34, 227)
HSLhsl(282, 78%, 51%)
HSVhsv(282, 85%, 89%)
CMYKcmyk(25.1%, 85%, 0%, 11%)
CIE-LABlab(45.96, 77.16, -68.99)
CIE-LCHlch(45.96, 103.51, 318.20°)
OKLaboklab(56.95% 0.1784 -0.1956)
OKLCHoklch(56.95% 0.265 312.4)
XYZxyz(31.0121, 15.2371, 73.9656)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA22E3 #5BE322
analogous
#4922E3 #AA22E3 #E322BB
triadic
#AA22E3 #E3AA22 #22E3AA
tetradic
#AA22E3 #E34922 #5BE322 #22BBE3
square
#AA22E3 #E34922 #5BE322 #22BBE3
split-complementary
#AA22E3 #BBE322 #22E349
monochromatic
#5B107B #8416B1 #AA22E3 #BF58EA #D48FF1

Accessibility & contrast

On white

5.19
#AA22E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AA22E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA22E3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA22E3#FFFFFF#000000##FFFFFF
##AA22E31.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#A35888
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #aa22e3;
/* rgb */ color: rgb(170, 34, 227);
/* oklch */ color: oklch(56.9% 0.265 312.4);
Tailwind
colors: {
  custom: {
    50: '#c972ed',
    500: '#aa22e3',
    950: '#000000',
  },
}
SCSS
$custom: #aa22e3;
$custom-light: #c972ed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa22e3",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 227
  },
  "hsl": {
    "h": 282.28,
    "s": 77.51,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.26478,
    "h": 312.4
  },
  "luminance": 0.15236
}

Semantic roles & 50–950 ramp

primary
#AA22E3
secondary
#9FDB86
accent
#F4346D
background
#FDF7FE
surface
#FAEDFD
border
#D3C8D5
text
#140916
muted
#837B84

Preview Lab

Preview with #AA22E3

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

Preview Lab → · Contrast checker → · Palette generator →

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