#AA2796#AA2796

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

Color values

HEX#AA2796
RGBrgb(170, 39, 150)
HSLhsl(309, 63%, 41%)
HSVhsv(309, 77%, 67%)
CMYKcmyk(0%, 77.1%, 11.8%, 33.3%)
CIE-LABlab(41.53, 62.72, -30.95)
CIE-LCHlch(41.53, 69.94, 333.74°)
OKLaboklab(52.28% 0.1833 -0.0846)
OKLCHoklch(52.28% 0.202 335.2)
XYZxyz(22.8084, 12.2012, 30.0021)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2796 #27AA3B
analogous
#7C27AA #AA2796 #AA2754
triadic
#AA2796 #96AA27 #2796AA
tetradic
#AA2796 #AA7C27 #27AA3B #2754AA
square
#AA2796 #AA7C27 #27AA3B #2754AA
split-complementary
#AA2796 #54AA27 #27AA7C
monochromatic
#46103E #781C6A #AA2796 #D23CBB #DE6ECD

Accessibility & contrast

On white

6.11
#AA2796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AA2796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2796
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2796#FFFFFF#000000##FFFFFF
##AA27961.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275699
Deuteranopia (green-blind)
#576993
Tritanopia (blue-blind)
#B3325D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2796;
/* rgb */ color: rgb(170, 39, 150);
/* oklch */ color: oklch(52.3% 0.202 335.2);
Tailwind
colors: {
  custom: {
    50: '#c770b5',
    500: '#aa2796',
    950: '#000000',
  },
}
SCSS
$custom: #aa2796;
$custom-light: #c770b5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2796",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 309.16,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52278,
    "c": 0.20189,
    "h": 335.2
  },
  "luminance": 0.12199
}

Semantic roles & 50–950 ramp

primary
#AA2796
secondary
#69C477
accent
#E65B42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA2796

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

Preview Lab → · Contrast checker → · Palette generator →

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