#AA26AF#AA26AF

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

Color values

HEX#AA26AF
RGBrgb(170, 38, 175)
HSLhsl(298, 64%, 42%)
HSVhsv(298, 78%, 69%)
CMYKcmyk(2.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(42.81, 66.91, -43.90)
CIE-LCHlch(42.81, 80.03, 326.73°)
OKLaboklab(53.63% 0.1843 -0.1221)
OKLCHoklch(53.63% 0.221 326.5)
XYZxyz(25.0081, 13.0292, 41.7468)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA26AF #2BAF26
analogous
#6626AF #AA26AF #AF2670
triadic
#AA26AF #AFAA26 #26AFAA
tetradic
#AA26AF #AF6626 #2BAF26 #2670AF
square
#AA26AF #AF6626 #2BAF26 #2670AF
split-complementary
#AA26AF #70AF26 #26AF66
monochromatic
#48104A #791B7D #AA26AF #CF3DD5 #DC70E0

Accessibility & contrast

On white

5.82
#AA26AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AA26AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA26AF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA26AF#FFFFFF#000000##FFFFFF
##AA26AF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#496BAC
Tritanopia (blue-blind)
#AF3F6B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa26af;
/* rgb */ color: rgb(170, 38, 175);
/* oklch */ color: oklch(53.6% 0.221 326.5);
Tailwind
colors: {
  custom: {
    50: '#c771c7',
    500: '#aa26af',
    950: '#000000',
  },
}
SCSS
$custom: #aa26af;
$custom-light: #c771c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa26af",
  "rgb": {
    "r": 170,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 297.81,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53631,
    "c": 0.22109,
    "h": 326.5
  },
  "luminance": 0.13027
}

Semantic roles & 50–950 ramp

primary
#AA26AF
secondary
#6EC76A
accent
#E74047
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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