#AA26A4#AA26A4

#AA26A4 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.213 H 330.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AA26A4
RGBrgb(170, 38, 164)
HSLhsl(303, 63%, 41%)
HSVhsv(303, 78%, 67%)
CMYKcmyk(0%, 77.6%, 3.5%, 33.3%)
CIE-LABlab(42.18, 65.14, -38.36)
CIE-LCHlch(42.18, 75.60, 329.51°)
OKLaboklab(52.98% 0.1846 -0.106)
OKLCHoklch(52.98% 0.213 330.1)
XYZxyz(23.9714, 12.6145, 36.2871)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA26A4 #26AA2C
analogous
#6E26AA #AA26A4 #AA2662
triadic
#AA26A4 #A4AA26 #26A4AA
tetradic
#AA26A4 #AA6E26 #26AA2C #2662AA
square
#AA26A4 #AA6E26 #26AA2C #2662AA
split-complementary
#AA26A4 #62AA26 #26AA6E
monochromatic
#461043 #781B74 #AA26A4 #D33ACC #DE6CD9

Accessibility & contrast

On white

5.96
#AA26A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AA26A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA26A4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA26A4#FFFFFF#000000##FFFFFF
##AA26A41.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1158A7
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#B03964
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa26a4;
/* rgb */ color: rgb(170, 38, 164);
/* oklch */ color: oklch(53.0% 0.213 330.1);
Tailwind
colors: {
  custom: {
    50: '#c770bf',
    500: '#aa26a4',
    950: '#000000',
  },
}
SCSS
$custom: #aa26a4;
$custom-light: #c770bf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa26a4",
  "rgb": {
    "r": 170,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 302.727,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52979,
    "c": 0.21288,
    "h": 330.1
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#AA26A4
secondary
#67C56B
accent
#E64941
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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