#AA26A1#AA26A1

#AA26A1 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.211 H 331.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AA26A1
RGBrgb(170, 38, 161)
HSLhsl(304, 63%, 41%)
HSVhsv(304, 78%, 67%)
CMYKcmyk(0%, 77.6%, 5.3%, 33.3%)
CIE-LABlab(42.01, 64.67, -36.82)
CIE-LCHlch(42.01, 74.42, 330.34°)
OKLaboklab(52.81% 0.1846 -0.1015)
OKLCHoklch(52.81% 0.211 331.2)
XYZxyz(23.7037, 12.5074, 34.8771)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA26A1 #26AA2F
analogous
#7126AA #AA26A1 #AA265F
triadic
#AA26A1 #A1AA26 #26A1AA
tetradic
#AA26A1 #AA7126 #26AA2F #265FAA
square
#AA26A1 #AA7126 #26AA2F #265FAA
split-complementary
#AA26A1 #5FAA26 #26AA71
monochromatic
#461042 #781B72 #AA26A1 #D33AC9 #DE6CD6

Accessibility & contrast

On white

6.00
#AA26A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AA26A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA26A1
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA26A1#FFFFFF#000000##FFFFFF
##AA26A11.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A4
Deuteranopia (green-blind)
#51699E
Tritanopia (blue-blind)
#B13863
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa26a1;
/* rgb */ color: rgb(170, 38, 161);
/* oklch */ color: oklch(52.8% 0.211 331.2);
Tailwind
colors: {
  custom: {
    50: '#c770bd',
    500: '#aa26a1',
    950: '#000000',
  },
}
SCSS
$custom: #aa26a1;
$custom-light: #c770bd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa26a1",
  "rgb": {
    "r": 170,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 304.091,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52808,
    "c": 0.21069,
    "h": 331.2
  },
  "luminance": 0.12505
}

Semantic roles & 50–950 ramp

primary
#AA26A1
secondary
#67C56E
accent
#E64D41
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA26A1

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

Preview Lab → · Contrast checker → · Palette generator →

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