#AA3797#AA3797

#AA3797 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.184 H 335.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AA3797
RGBrgb(170, 55, 151)
HSLhsl(310, 51%, 44%)
HSVhsv(310, 68%, 67%)
CMYKcmyk(0%, 67.6%, 11.2%, 33.3%)
CIE-LABlab(43.53, 57.36, -28.43)
CIE-LCHlch(43.53, 64.02, 333.64°)
OKLaboklab(53.74% 0.1671 -0.0775)
OKLCHoklch(53.74% 0.184 335.1)
XYZxyz(23.5299, 13.5148, 30.6415)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3797 #37AA4A
analogous
#8437AA #AA3797 #AA375E
triadic
#AA3797 #97AA37 #3797AA
tetradic
#AA3797 #AA8437 #37AA4A #375EAA
square
#AA3797 #AA8437 #37AA4A #375EAA
split-complementary
#AA3797 #5EAA37 #37AA84
monochromatic
#4E1945 #7C286E #AA3797 #C856B5 #D784CA

Accessibility & contrast

On white

5.67
#AA3797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AA3797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3797
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3797#FFFFFF#000000##FFFFFF
##AA37971.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#5D6D94
Tritanopia (blue-blind)
#B23F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa3797;
/* rgb */ color: rgb(170, 55, 151);
/* oklch */ color: oklch(53.7% 0.184 335.1);
Tailwind
colors: {
  custom: {
    50: '#c777b6',
    500: '#aa3797',
    950: '#000000',
  },
}
SCSS
$custom: #aa3797;
$custom-light: #c777b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3797",
  "rgb": {
    "r": 170,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 309.913,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.18421,
    "h": 335.1
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#AA3797
secondary
#7CC187
accent
#DB654D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA3797

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

Preview Lab → · Contrast checker → · Palette generator →

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