#AA5ECA#AA5ECA

#AA5ECA is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.3% C 0.173 H 314.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AA5ECA
RGBrgb(170, 94, 202)
HSLhsl(282, 50%, 58%)
HSVhsv(282, 53%, 79%)
CMYKcmyk(15.8%, 53.5%, 0%, 20.8%)
CIE-LABlab(52.75, 48.73, -43.82)
CIE-LCHlch(52.75, 65.53, 318.04°)
OKLaboklab(61.31% 0.122 -0.1222)
OKLCHoklch(61.31% 0.173 314.9)
XYZxyz(31.2392, 20.8166, 58.2381)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5ECA #7ECA5E
analogous
#745ECA #AA5ECA #CA5EB4
triadic
#AA5ECA #CAAA5E #5ECAAA
tetradic
#AA5ECA #CA745E #7ECA5E #5EB4CA
square
#AA5ECA #CA745E #7ECA5E #5EB4CA
split-complementary
#AA5ECA #B4CA5E #5ECA74
monochromatic
#692B83 #8E3AB1 #AA5ECA #C28CD9 #DBBAE8

Accessibility & contrast

On white

4.07
#AA5ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AA5ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5ECA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5ECA#FFFFFF#000000##000000
##AA5ECA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4479CE
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#A86F8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5eca;
/* rgb */ color: rgb(170, 94, 202);
/* oklch */ color: oklch(61.3% 0.173 314.9);
Tailwind
colors: {
  custom: {
    50: '#c68eda',
    500: '#aa5eca',
    950: '#000000',
  },
}
SCSS
$custom: #aa5eca;
$custom-light: #c68eda;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5eca",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 282.222,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61311,
    "c": 0.17267,
    "h": 314.9
  },
  "luminance": 0.20816
}

Semantic roles & 50–950 ramp

primary
#AA5ECA
secondary
#B9D7AC
accent
#DA4E77
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #AA5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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