#AA5AEF#AA5AEF

#AA5AEF is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.0% C 0.218 H 305.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AA5AEF
RGBrgb(170, 90, 239)
HSLhsl(272, 82%, 65%)
HSVhsv(272, 62%, 94%)
CMYKcmyk(28.9%, 62.3%, 0%, 6.3%)
CIE-LABlab(54.12, 58.87, -62.54)
CIE-LCHlch(54.12, 85.89, 313.27°)
OKLaboklab(63% 0.1274 -0.177)
OKLCHoklch(63% 0.218 305.7)
XYZxyz(35.8103, 22.0907, 84.0220)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5AEF #9FEF5A
analogous
#605AEF #AA5AEF #EF5AE9
triadic
#AA5AEF #EFAA5A #5AEFAA
tetradic
#AA5AEF #EF605A #9FEF5A #5AE9EF
square
#AA5AEF #EF605A #9FEF5A #5AE9EF
split-complementary
#AA5AEF #E9EF5A #5AEF60
monochromatic
#6E12BC #8D22EA #AA5AEF #C792F4 #E3CAFA

Accessibility & contrast

On white

3.88
#AA5AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#AA5AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5AEF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5AEF#FFFFFF#000000##000000
##AA5AEF1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#3882EC
Tritanopia (blue-blind)
#9E799D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5aef;
/* rgb */ color: rgb(170, 90, 239);
/* oklch */ color: oklch(63.0% 0.218 305.7);
Tailwind
colors: {
  custom: {
    50: '#c88df5',
    500: '#aa5aef',
    950: '#000000',
  },
}
SCSS
$custom: #aa5aef;
$custom-light: #c88df5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5aef",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 272.215,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62998,
    "c": 0.2181,
    "h": 305.7
  },
  "luminance": 0.2209
}

Semantic roles & 50–950 ramp

primary
#AA5AEF
secondary
#D1ECB9
accent
#DF076B
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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