#AA5AF5#AA5AF5

#AA5AF5 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.4% C 0.224 H 304.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AA5AF5
RGBrgb(170, 90, 245)
HSLhsl(271, 89%, 66%)
HSVhsv(271, 63%, 96%)
CMYKcmyk(30.6%, 63.3%, 0%, 3.9%)
CIE-LABlab(54.50, 60.24, -65.28)
CIE-LCHlch(54.50, 88.83, 312.70°)
OKLaboklab(63.39% 0.127 -0.1851)
OKLCHoklch(63.39% 0.224 304.5)
XYZxyz(36.7115, 22.4511, 88.7680)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5AF5 #A5F55A
analogous
#5C5AF5 #AA5AF5 #F55AF2
triadic
#AA5AF5 #F5AA5A #5AF5AA
tetradic
#AA5AF5 #F55C5A #A5F55A #5AF2F5
square
#AA5AF5 #F55C5A #A5F55A #5AF2F5
split-complementary
#AA5AF5 #F2F55A #5AF55C
monochromatic
#6D0CC8 #8C20F2 #AA5AF5 #C894F8 #E5CDFC

Accessibility & contrast

On white

3.82
#AA5AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AA5AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5AF5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5AF5#FFFFFF#000000##000000
##AA5AF51.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#2E82F2
Tritanopia (blue-blind)
#9C7BA0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5af5;
/* rgb */ color: rgb(170, 90, 245);
/* oklch */ color: oklch(63.4% 0.224 304.5);
Tailwind
colors: {
  custom: {
    50: '#c88df9',
    500: '#aa5af5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5af5;
$custom-light: #c88df9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5af5",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 270.968,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63393,
    "c": 0.22446,
    "h": 304.5
  },
  "luminance": 0.22451
}

Semantic roles & 50–950 ramp

primary
#AA5AF5
secondary
#D5EFBC
accent
#E5006F
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA5AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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