#AA5DA2#AA5DA2

#AA5DA2 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.2% C 0.134 H 331.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AA5DA2
RGBrgb(170, 93, 162)
HSLhsl(306, 31%, 52%)
HSVhsv(306, 45%, 67%)
CMYKcmyk(0%, 45.3%, 4.7%, 33.3%)
CIE-LABlab(50.67, 41.37, -23.88)
CIE-LCHlch(50.67, 47.77, 330.00°)
OKLaboklab(59.16% 0.1172 -0.0649)
OKLCHoklch(59.16% 0.134 331)
XYZxyz(27.0132, 18.9849, 36.4170)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DA2 #5DAA65
analogous
#8C5DAA #AA5DA2 #AA5D7C
triadic
#AA5DA2 #A2AA5D #5DA2AA
tetradic
#AA5DA2 #AA8C5D #5DAA65 #5D7CAA
square
#AA5DA2 #AA8C5D #5DAA65 #5D7CAA
split-complementary
#AA5DA2 #7CAA5D #5DAA8C
monochromatic
#5C3058 #84457E #AA5DA2 #BF85B9 #D4ADD0

Accessibility & contrast

On white

4.38
#AA5DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AA5DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DA2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DA2#FFFFFF#000000##000000
##AA5DA21.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A4
Deuteranopia (green-blind)
#6F7DA0
Tritanopia (blue-blind)
#B06378
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa5da2;
/* rgb */ color: rgb(170, 93, 162);
/* oklch */ color: oklch(59.2% 0.134 331.0);
Tailwind
colors: {
  custom: {
    50: '#c58dbd',
    500: '#aa5da2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5da2;
$custom-light: #c58dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5da2",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 306.234,
    "s": 31.174,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59156,
    "c": 0.13401,
    "h": 331
  },
  "luminance": 0.18983
}

Semantic roles & 50–950 ramp

primary
#AA5DA2
secondary
#A0C2A4
accent
#C76B60
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AA5DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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