#AA5EC0#AA5EC0

#AA5EC0 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.8% C 0.162 H 318.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AA5EC0
RGBrgb(170, 94, 192)
HSLhsl(287, 44%, 56%)
HSVhsv(287, 51%, 75%)
CMYKcmyk(11.5%, 51%, 0%, 24.7%)
CIE-LABlab(52.24, 46.65, -38.88)
CIE-LCHlch(52.24, 60.73, 320.19°)
OKLaboklab(60.77% 0.1209 -0.1079)
OKLCHoklch(60.77% 0.162 318.3)
XYZxyz(30.0934, 20.3583, 52.2033)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EC0 #74C05E
analogous
#795EC0 #AA5EC0 #C05EA5
triadic
#AA5EC0 #C0AA5E #5EC0AA
tetradic
#AA5EC0 #C0795E #74C05E #5EA5C0
square
#AA5EC0 #C0795E #74C05E #5EA5C0
split-complementary
#AA5EC0 #A5C05E #5EC079
monochromatic
#662E76 #8B3FA2 #AA5EC0 #C18AD1 #D8B6E2

Accessibility & contrast

On white

4.14
#AA5EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AA5EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EC0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EC0#FFFFFF#000000##000000
##AA5EC01.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C3
Deuteranopia (green-blind)
#637FBD
Tritanopia (blue-blind)
#AA6C86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5ec0;
/* rgb */ color: rgb(170, 94, 192);
/* oklch */ color: oklch(60.8% 0.162 318.3);
Tailwind
colors: {
  custom: {
    50: '#c58ed3',
    500: '#aa5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ec0;
$custom-light: #c58ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ec0",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 286.531,
    "s": 43.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60771,
    "c": 0.16208,
    "h": 318.3
  },
  "luminance": 0.20357
}

Semantic roles & 50–950 ramp

primary
#AA5EC0
secondary
#B2D1A9
accent
#D35471
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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