#AA26B1#AA26B1

#AA26B1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.223 H 325.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AA26B1
RGBrgb(170, 38, 177)
HSLhsl(297, 65%, 42%)
HSVhsv(297, 79%, 69%)
CMYKcmyk(4%, 78.5%, 0%, 30.6%)
CIE-LABlab(42.93, 67.25, -44.90)
CIE-LCHlch(42.93, 80.86, 326.27°)
OKLaboklab(53.75% 0.1842 -0.125)
OKLCHoklch(53.75% 0.223 325.8)
XYZxyz(25.2060, 13.1083, 42.7890)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA26B1 #2DB126
analogous
#6426B1 #AA26B1 #B12673
triadic
#AA26B1 #B1AA26 #26B1AA
tetradic
#AA26B1 #B16426 #2DB126 #2673B1
square
#AA26B1 #B16426 #2DB126 #2673B1
split-complementary
#AA26B1 #73B126 #26B164
monochromatic
#49104C #7A1B7F #AA26B1 #CE3FD6 #DB71E0

Accessibility & contrast

On white

5.80
#AA26B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AA26B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA26B1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA26B1#FFFFFF#000000##FFFFFF
##AA26B11.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#486BAE
Tritanopia (blue-blind)
#AE406C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa26b1;
/* rgb */ color: rgb(170, 38, 177);
/* oklch */ color: oklch(53.8% 0.223 325.8);
Tailwind
colors: {
  custom: {
    50: '#c771c9',
    500: '#aa26b1',
    950: '#000000',
  },
}
SCSS
$custom: #aa26b1;
$custom-light: #c771c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa26b1",
  "rgb": {
    "r": 170,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 296.978,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.2226,
    "h": 325.8
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

primary
#AA26B1
secondary
#70C76B
accent
#E84049
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA26B1

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

Preview Lab → · Contrast checker → · Palette generator →

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