#AA2797#AA2797

#AA2797 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.203 H 334.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AA2797
RGBrgb(170, 39, 151)
HSLhsl(309, 63%, 41%)
HSVhsv(309, 77%, 67%)
CMYKcmyk(0%, 77.1%, 11.2%, 33.3%)
CIE-LABlab(41.58, 62.87, -31.47)
CIE-LCHlch(41.58, 70.30, 333.41°)
OKLaboklab(52.33% 0.1834 -0.0861)
OKLCHoklch(52.33% 0.203 334.8)
XYZxyz(22.8893, 12.2335, 30.4280)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2797 #27AA3A
analogous
#7B27AA #AA2797 #AA2755
triadic
#AA2797 #97AA27 #2797AA
tetradic
#AA2797 #AA7B27 #27AA3A #2755AA
square
#AA2797 #AA7B27 #27AA3A #2755AA
split-complementary
#AA2797 #55AA27 #27AA7B
monochromatic
#46103F #781C6B #AA2797 #D23CBC #DE6ECD

Accessibility & contrast

On white

6.09
#AA2797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AA2797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2797
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2797#FFFFFF#000000##FFFFFF
##AA27971.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#576994
Tritanopia (blue-blind)
#B2335D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2797;
/* rgb */ color: rgb(170, 39, 151);
/* oklch */ color: oklch(52.3% 0.203 334.8);
Tailwind
colors: {
  custom: {
    50: '#c770b6',
    500: '#aa2797',
    950: '#000000',
  },
}
SCSS
$custom: #aa2797;
$custom-light: #c770b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2797",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 308.702,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52331,
    "c": 0.20259,
    "h": 334.8
  },
  "luminance": 0.12231
}

Semantic roles & 50–950 ramp

primary
#AA2797
secondary
#69C476
accent
#E65A42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA2797

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

Preview Lab → · Contrast checker → · Palette generator →

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