#AA5AFF#AA5AFF

#AA5AFF is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.1% C 0.235 H 302.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AA5AFF
RGBrgb(170, 90, 255)
HSLhsl(269, 100%, 68%)
HSVhsv(269, 65%, 100%)
CMYKcmyk(33.3%, 64.7%, 0%, 0%)
CIE-LABlab(55.15, 62.55, -69.78)
CIE-LCHlch(55.15, 93.71, 311.87°)
OKLaboklab(64.07% 0.1262 -0.1983)
OKLCHoklch(64.07% 0.235 302.5)
XYZxyz(38.2795, 23.0783, 97.0262)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5AFF #AFFF5A
analogous
#5A5CFF #AA5AFF #FD5AFF
triadic
#AA5AFF #FFAA5A #5AFFAA
tetradic
#AA5AFF #FF5A5C #AFFF5A #5AFFFD
square
#AA5AFF #FF5A5C #AFFF5A #5AFFFD
split-complementary
#AA5AFF #FFFD5A #5CFF5A
monochromatic
#6C00DF #8A1DFF #AA5AFF #CA97FF #E9D4FF

Accessibility & contrast

On white

3.74
#AA5AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#AA5AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5AFF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5AFF#FFFFFF#000000##000000
##AA5AFF1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#1583FB
Tritanopia (blue-blind)
#997FA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5aff;
/* rgb */ color: rgb(170, 90, 255);
/* oklch */ color: oklch(64.1% 0.235 302.5);
Tailwind
colors: {
  custom: {
    50: '#c98dff',
    500: '#aa5aff',
    950: '#000000',
  },
}
SCSS
$custom: #aa5aff;
$custom-light: #c98dff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5aff",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 269.091,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64068,
    "c": 0.23504,
    "h": 302.5
  },
  "luminance": 0.23078
}

Semantic roles & 50–950 ramp

primary
#AA5AFF
secondary
#DBF4C1
accent
#E60076
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D18
muted
#827D86

Preview Lab

Preview with #AA5AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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