#AA299E#AA299E

#AA299E is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.206 H 332.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AA299E
RGBrgb(170, 41, 158)
HSLhsl(306, 61%, 41%)
HSVhsv(306, 76%, 67%)
CMYKcmyk(0%, 75.9%, 7.1%, 33.3%)
CIE-LABlab(42.16, 63.33, -34.79)
CIE-LCHlch(42.16, 72.25, 331.22°)
OKLaboklab(52.86% 0.182 -0.0957)
OKLCHoklch(52.86% 0.206 332.3)
XYZxyz(23.5421, 12.6025, 33.5337)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA299E #29AA35
analogous
#7629AA #AA299E #AA295E
triadic
#AA299E #9EAA29 #299EAA
tetradic
#AA299E #AA7629 #29AA35 #295EAA
square
#AA299E #AA7629 #29AA35 #295EAA
split-complementary
#AA299E #5EAA29 #29AA76
monochromatic
#471142 #791D70 #AA299E #D13FC3 #DD71D3

Accessibility & contrast

On white

5.97
#AA299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AA299E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA299E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA299E#FFFFFF#000000##FFFFFF
##AA299E1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A1
Deuteranopia (green-blind)
#546A9B
Tritanopia (blue-blind)
#B13862
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa299e;
/* rgb */ color: rgb(170, 41, 158);
/* oklch */ color: oklch(52.9% 0.206 332.3);
Tailwind
colors: {
  custom: {
    50: '#c771bb',
    500: '#aa299e',
    950: '#000000',
  },
}
SCSS
$custom: #aa299e;
$custom-light: #c771bb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa299e",
  "rgb": {
    "r": 170,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 305.581,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52861,
    "c": 0.20559,
    "h": 332.3
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#AA299E
secondary
#6BC473
accent
#E45244
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA299E

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

Preview Lab → · Contrast checker → · Palette generator →

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