#AA5DB2#AA5DB2

#AA5DB2 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 59.9% C 0.149 H 323.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AA5DB2
RGBrgb(170, 93, 178)
HSLhsl(294, 36%, 53%)
HSVhsv(294, 48%, 70%)
CMYKcmyk(4.5%, 47.8%, 0%, 30.2%)
CIE-LABlab(51.37, 44.38, -32.14)
CIE-LCHlch(51.37, 54.79, 324.08°)
OKLaboklab(59.91% 0.1204 -0.0885)
OKLCHoklch(59.91% 0.149 323.7)
XYZxyz(28.5270, 19.5904, 44.3895)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DB2 #65B25D
analogous
#7F5DB2 #AA5DB2 #B25D8F
triadic
#AA5DB2 #B2AA5D #5DB2AA
tetradic
#AA5DB2 #B27F5D #65B25D #5D8FB2
square
#AA5DB2 #B27F5D #65B25D #5D8FB2
split-complementary
#AA5DB2 #8FB25D #5DB27F
monochromatic
#603065 #87448E #AA5DB2 #C086C6 #D6B0D9

Accessibility & contrast

On white

4.27
#AA5DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AA5DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DB2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DB2#FFFFFF#000000##000000
##AA5DB21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5275B5
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#AD677F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5db2;
/* rgb */ color: rgb(170, 93, 178);
/* oklch */ color: oklch(59.9% 0.149 323.7);
Tailwind
colors: {
  custom: {
    50: '#c58dc9',
    500: '#aa5db2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5db2;
$custom-light: #c58dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5db2",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 294.353,
    "s": 35.565,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59908,
    "c": 0.14938,
    "h": 323.7
  },
  "luminance": 0.19589
}

Semantic roles & 50–950 ramp

primary
#AA5DB2
secondary
#A7C8A3
accent
#CC5C67
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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