#AA5AEB#AA5AEB

#AA5AEB is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.7% C 0.214 H 306.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AA5AEB
RGBrgb(170, 90, 235)
HSLhsl(273, 78%, 64%)
HSVhsv(273, 62%, 92%)
CMYKcmyk(27.7%, 61.7%, 0%, 7.8%)
CIE-LABlab(53.87, 57.97, -60.70)
CIE-LCHlch(53.87, 83.94, 313.68°)
OKLaboklab(62.74% 0.1276 -0.1716)
OKLCHoklch(62.74% 0.214 306.6)
XYZxyz(35.2260, 21.8569, 80.9442)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5AEB #9BEB5A
analogous
#615AEB #AA5AEB #EB5AE4
triadic
#AA5AEB #EBAA5A #5AEBAA
tetradic
#AA5AEB #EB615A #9BEB5A #5AE4EB
square
#AA5AEB #EB615A #9BEB5A #5AE4EB
split-complementary
#AA5AEB #E4EB5A #5AEB61
monochromatic
#6E16B5 #8E23E4 #AA5AEB #C691F2 #E2C7F8

Accessibility & contrast

On white

3.91
#AA5AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AA5AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5AEB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5AEB#FFFFFF#000000##000000
##AA5AEB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#3D81E8
Tritanopia (blue-blind)
#9F789A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5aeb;
/* rgb */ color: rgb(170, 90, 235);
/* oklch */ color: oklch(62.7% 0.214 306.6);
Tailwind
colors: {
  custom: {
    50: '#c78df2',
    500: '#aa5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #aa5aeb;
$custom-light: #c78df2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5aeb",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 273.103,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62739,
    "c": 0.21385,
    "h": 306.6
  },
  "luminance": 0.21857
}

Semantic roles & 50–950 ramp

primary
#AA5AEB
secondary
#CEEAB7
accent
#DB0B68
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #AA5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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