#AA33A2#AA33A2

#AA33A2 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.9% C 0.198 H 330.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AA33A2
RGBrgb(170, 51, 162)
HSLhsl(304, 54%, 43%)
HSVhsv(304, 70%, 67%)
CMYKcmyk(0%, 70%, 4.7%, 33.3%)
CIE-LABlab(43.54, 60.62, -35.00)
CIE-LCHlch(43.54, 70.00, 330.00°)
OKLaboklab(53.92% 0.1725 -0.0964)
OKLCHoklch(53.92% 0.198 330.8)
XYZxyz(24.2829, 13.5242, 35.5069)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA33A2 #33AA3B
analogous
#7633AA #AA33A2 #AA3366
triadic
#AA33A2 #A2AA33 #33A2AA
tetradic
#AA33A2 #AA7633 #33AA3B #3366AA
square
#AA33A2 #AA7633 #33AA3B #3366AA
split-complementary
#AA33A2 #66AA33 #33AA76
monochromatic
#4C1748 #7B2575 #AA33A2 #CA50C2 #D97FD3

Accessibility & contrast

On white

5.67
#AA33A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AA33A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA33A2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA33A2#FFFFFF#000000##FFFFFF
##AA33A21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#566D9F
Tritanopia (blue-blind)
#B14167
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa33a2;
/* rgb */ color: rgb(170, 51, 162);
/* oklch */ color: oklch(53.9% 0.198 330.8);
Tailwind
colors: {
  custom: {
    50: '#c776be',
    500: '#aa33a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa33a2;
$custom-light: #c776be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa33a2",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 304.034,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53924,
    "c": 0.19756,
    "h": 330.8
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#AA33A2
secondary
#77C27C
accent
#DD544B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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