#AA5EB2#AA5EB2

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

Color values

HEX#AA5EB2
RGBrgb(170, 94, 178)
HSLhsl(294, 35%, 53%)
HSVhsv(294, 47%, 70%)
CMYKcmyk(4.5%, 47.2%, 0%, 30.2%)
CIE-LABlab(51.57, 43.85, -31.83)
CIE-LCHlch(51.57, 54.18, 324.03°)
OKLaboklab(60.06% 0.1189 -0.0876)
OKLCHoklch(60.06% 0.148 323.6)
XYZxyz(28.6154, 19.7671, 44.4190)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EB2 #66B25E
analogous
#805EB2 #AA5EB2 #B25E90
triadic
#AA5EB2 #B2AA5E #5EB2AA
tetradic
#AA5EB2 #B2805E #66B25E #5E90B2
square
#AA5EB2 #B2805E #66B25E #5E90B2
split-complementary
#AA5EB2 #90B25E #5EB280
monochromatic
#603065 #88448F #AA5EB2 #C087C6 #D6B1DA

Accessibility & contrast

On white

4.24
#AA5EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AA5EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EB2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EB2#FFFFFF#000000##000000
##AA5EB21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#AD6880
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa5eb2;
/* rgb */ color: rgb(170, 94, 178);
/* oklch */ color: oklch(60.1% 0.148 323.6);
Tailwind
colors: {
  custom: {
    50: '#c58ec9',
    500: '#aa5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5eb2;
$custom-light: #c58ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5eb2",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 294.286,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60058,
    "c": 0.14769,
    "h": 323.6
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#AA5EB2
secondary
#A7C8A4
accent
#CB5C67
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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