#AA5EB3#AA5EB3

#AA5EB3 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.1% C 0.149 H 323.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AA5EB3
RGBrgb(170, 94, 179)
HSLhsl(294, 36%, 54%)
HSVhsv(294, 47%, 70%)
CMYKcmyk(5%, 47.5%, 0%, 29.8%)
CIE-LABlab(51.62, 44.04, -32.34)
CIE-LCHlch(51.62, 54.64, 323.72°)
OKLaboklab(60.11% 0.1191 -0.089)
OKLCHoklch(60.11% 0.149 323.2)
XYZxyz(28.7161, 19.8074, 44.9497)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EB3 #67B35E
analogous
#7F5EB3 #AA5EB3 #B35E91
triadic
#AA5EB3 #B3AA5E #5EB3AA
tetradic
#AA5EB3 #B37F5E #67B35E #5E91B3
square
#AA5EB3 #B37F5E #67B35E #5E91B3
split-complementary
#AA5EB3 #91B35E #5EB37F
monochromatic
#613066 #884490 #AA5EB3 #C088C7 #D6B1DA

Accessibility & contrast

On white

4.23
#AA5EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AA5EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EB3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EB3#FFFFFF#000000##000000
##AA5EB31.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B6
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#AD6880
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa5eb3;
/* rgb */ color: rgb(170, 94, 179);
/* oklch */ color: oklch(60.1% 0.149 323.2);
Tailwind
colors: {
  custom: {
    50: '#c58eca',
    500: '#aa5eb3',
    950: '#000000',
  },
}
SCSS
$custom: #aa5eb3;
$custom-light: #c58eca;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5eb3",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 293.647,
    "s": 35.865,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60108,
    "c": 0.1487,
    "h": 323.2
  },
  "luminance": 0.19806
}

Semantic roles & 50–950 ramp

primary
#AA5EB3
secondary
#A8C9A4
accent
#CC5C68
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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