#AA26AE#AA26AE

#AA26AE is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.220 H 326.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AA26AE
RGBrgb(170, 38, 174)
HSLhsl(298, 64%, 42%)
HSVhsv(298, 78%, 68%)
CMYKcmyk(2.3%, 78.2%, 0%, 31.8%)
CIE-LABlab(42.75, 66.75, -43.40)
CIE-LCHlch(42.75, 79.62, 326.97°)
OKLaboklab(53.57% 0.1844 -0.1207)
OKLCHoklch(53.57% 0.22 326.8)
XYZxyz(24.9102, 12.9900, 41.2315)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA26AE #2AAE26
analogous
#6626AE #AA26AE #AE266E
triadic
#AA26AE #AEAA26 #26AEAA
tetradic
#AA26AE #AE6626 #2AAE26 #266EAE
square
#AA26AE #AE6626 #2AAE26 #266EAE
split-complementary
#AA26AE #6EAE26 #26AE66
monochromatic
#48104A #791B7C #AA26AE #D03DD5 #DC6FE0

Accessibility & contrast

On white

5.84
#AA26AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AA26AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA26AE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA26AE#FFFFFF#000000##FFFFFF
##AA26AE1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#4A6BAB
Tritanopia (blue-blind)
#AF3F6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa26ae;
/* rgb */ color: rgb(170, 38, 174);
/* oklch */ color: oklch(53.6% 0.220 326.8);
Tailwind
colors: {
  custom: {
    50: '#c771c7',
    500: '#aa26ae',
    950: '#000000',
  },
}
SCSS
$custom: #aa26ae;
$custom-light: #c771c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa26ae",
  "rgb": {
    "r": 170,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 298.235,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.22033,
    "h": 326.8
  },
  "luminance": 0.12988
}

Semantic roles & 50–950 ramp

primary
#AA26AE
secondary
#6CC66A
accent
#E74146
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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