#AA26A2#AA26A2

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

Color values

HEX#AA26A2
RGBrgb(170, 38, 162)
HSLhsl(304, 63%, 41%)
HSVhsv(304, 78%, 67%)
CMYKcmyk(0%, 77.6%, 4.7%, 33.3%)
CIE-LABlab(42.07, 64.83, -37.34)
CIE-LCHlch(42.07, 74.81, 330.06°)
OKLaboklab(52.86% 0.1846 -0.103)
OKLCHoklch(52.86% 0.211 330.8)
XYZxyz(23.7922, 12.5428, 35.3433)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA26A2 #26AA2E
analogous
#7026AA #AA26A2 #AA2660
triadic
#AA26A2 #A2AA26 #26A2AA
tetradic
#AA26A2 #AA7026 #26AA2E #2660AA
square
#AA26A2 #AA7026 #26AA2E #2660AA
split-complementary
#AA26A2 #60AA26 #26AA70
monochromatic
#461043 #781B72 #AA26A2 #D33ACA #DE6CD7

Accessibility & contrast

On white

5.99
#AA26A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA26A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA26A2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA26A2#FFFFFF#000000##FFFFFF
##AA26A21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#B13863
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa26a2;
/* rgb */ color: rgb(170, 38, 162);
/* oklch */ color: oklch(52.9% 0.211 330.8);
Tailwind
colors: {
  custom: {
    50: '#c770be',
    500: '#aa26a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa26a2;
$custom-light: #c770be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa26a2",
  "rgb": {
    "r": 170,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 303.636,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.21141,
    "h": 330.8
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#AA26A2
secondary
#67C56D
accent
#E64B41
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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