#AA5EBC#AA5EBC

#AA5EBC is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.6% C 0.158 H 319.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AA5EBC
RGBrgb(170, 94, 188)
HSLhsl(289, 41%, 55%)
HSVhsv(289, 50%, 74%)
CMYKcmyk(9.6%, 50%, 0%, 26.3%)
CIE-LABlab(52.04, 45.83, -36.88)
CIE-LCHlch(52.04, 58.83, 321.18°)
OKLaboklab(60.56% 0.1204 -0.1021)
OKLCHoklch(60.56% 0.158 319.7)
XYZxyz(29.6562, 20.1834, 49.9008)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EBC #70BC5E
analogous
#7B5EBC #AA5EBC #BC5E9F
triadic
#AA5EBC #BCAA5E #5EBCAA
tetradic
#AA5EBC #BC7B5E #70BC5E #5E9FBC
square
#AA5EBC #BC7B5E #70BC5E #5E9FBC
split-complementary
#AA5EBC #9FBC5E #5EBC7B
monochromatic
#642F71 #8A419C #AA5EBC #C189CE #D8B4E0

Accessibility & contrast

On white

4.17
#AA5EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#AA5EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EBC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EBC#FFFFFF#000000##000000
##AA5EBC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77BF
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#AB6B84
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5ebc;
/* rgb */ color: rgb(170, 94, 188);
/* oklch */ color: oklch(60.6% 0.158 319.7);
Tailwind
colors: {
  custom: {
    50: '#c58ed0',
    500: '#aa5ebc',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ebc;
$custom-light: #c58ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ebc",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 188
  },
  "hsl": {
    "h": 288.511,
    "s": 41.228,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60562,
    "c": 0.1579,
    "h": 319.7
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

primary
#AA5EBC
secondary
#AFCFA7
accent
#D1576E
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA5EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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