#AA5EBA#AA5EBA

#AA5EBA is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.5% C 0.156 H 320.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AA5EBA
RGBrgb(170, 94, 186)
HSLhsl(290, 40%, 55%)
HSVhsv(290, 49%, 73%)
CMYKcmyk(8.6%, 49.5%, 0%, 27.1%)
CIE-LABlab(51.95, 45.43, -35.88)
CIE-LCHlch(51.95, 57.89, 321.70°)
OKLaboklab(60.46% 0.1202 -0.0992)
OKLCHoklch(60.46% 0.156 320.4)
XYZxyz(29.4421, 20.0978, 48.7732)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EBA #6EBA5E
analogous
#7C5EBA #AA5EBA #BA5E9C
triadic
#AA5EBA #BAAA5E #5EBAAA
tetradic
#AA5EBA #BA7C5E #6EBA5E #5E9CBA
square
#AA5EBA #BA7C5E #6EBA5E #5E9CBA
split-complementary
#AA5EBA #9CBA5E #5EBA7C
monochromatic
#632F6E #8A4299 #AA5EBA #C189CC #D7B4DF

Accessibility & contrast

On white

4.18
#AA5EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#AA5EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EBA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EBA#FFFFFF#000000##000000
##AA5EBA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BD
Deuteranopia (green-blind)
#667FB7
Tritanopia (blue-blind)
#AB6A83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5eba;
/* rgb */ color: rgb(170, 94, 186);
/* oklch */ color: oklch(60.5% 0.156 320.4);
Tailwind
colors: {
  custom: {
    50: '#c58ecf',
    500: '#aa5eba',
    950: '#000000',
  },
}
SCSS
$custom: #aa5eba;
$custom-light: #c58ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5eba",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 289.565,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60459,
    "c": 0.15584,
    "h": 320.4
  },
  "luminance": 0.20097
}

Semantic roles & 50–950 ramp

primary
#AA5EBA
secondary
#ADCDA7
accent
#D0586D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA5EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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