#AA2795#AA2795

#AA2795 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.201 H 335.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AA2795
RGBrgb(170, 39, 149)
HSLhsl(310, 63%, 41%)
HSVhsv(310, 77%, 67%)
CMYKcmyk(0%, 77.1%, 12.4%, 33.3%)
CIE-LABlab(41.48, 62.57, -30.42)
CIE-LCHlch(41.48, 69.57, 334.07°)
OKLaboklab(52.23% 0.1832 -0.0831)
OKLCHoklch(52.23% 0.201 335.6)
XYZxyz(22.7282, 12.1691, 29.5798)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2795 #27AA3C
analogous
#7D27AA #AA2795 #AA2754
triadic
#AA2795 #95AA27 #2795AA
tetradic
#AA2795 #AA7D27 #27AA3C #2754AA
square
#AA2795 #AA7D27 #27AA3C #2754AA
split-complementary
#AA2795 #54AA27 #27AA7D
monochromatic
#46103E #781C69 #AA2795 #D23CBA #DE6ECC

Accessibility & contrast

On white

6.12
#AA2795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AA2795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2795
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2795#FFFFFF#000000##FFFFFF
##AA27951.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285598
Deuteranopia (green-blind)
#586992
Tritanopia (blue-blind)
#B3325C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2795;
/* rgb */ color: rgb(170, 39, 149);
/* oklch */ color: oklch(52.2% 0.201 335.6);
Tailwind
colors: {
  custom: {
    50: '#c770b4',
    500: '#aa2795',
    950: '#000000',
  },
}
SCSS
$custom: #aa2795;
$custom-light: #c770b4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2795",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 309.618,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.20119,
    "h": 335.6
  },
  "luminance": 0.12167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2795

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

Preview Lab → · Contrast checker → · Palette generator →

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