#AA5AF4#AA5AF4

#AA5AF4 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.3% C 0.223 H 304.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AA5AF4
RGBrgb(170, 90, 244)
HSLhsl(271, 88%, 65%)
HSVhsv(271, 63%, 96%)
CMYKcmyk(30.3%, 63.1%, 0%, 4.3%)
CIE-LABlab(54.44, 60.01, -64.83)
CIE-LCHlch(54.44, 88.34, 312.79°)
OKLaboklab(63.33% 0.1271 -0.1837)
OKLCHoklch(63.33% 0.223 304.7)
XYZxyz(36.5592, 22.3902, 87.9661)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5AF4 #A4F45A
analogous
#5D5AF4 #AA5AF4 #F45AF1
triadic
#AA5AF4 #F4AA5A #5AF4AA
tetradic
#AA5AF4 #F45D5A #A4F45A #5AF1F4
square
#AA5AF4 #F45D5A #A4F45A #5AF1F4
split-complementary
#AA5AF4 #F1F45A #5AF45D
monochromatic
#6D0DC6 #8C21F0 #AA5AF4 #C893F8 #E5CDFC

Accessibility & contrast

On white

3.83
#AA5AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#AA5AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5AF4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5AF4#FFFFFF#000000##000000
##AA5AF41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#3082F1
Tritanopia (blue-blind)
#9D7B9F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5af4;
/* rgb */ color: rgb(170, 90, 244);
/* oklch */ color: oklch(63.3% 0.223 304.7);
Tailwind
colors: {
  custom: {
    50: '#c88df9',
    500: '#aa5af4',
    950: '#000000',
  },
}
SCSS
$custom: #aa5af4;
$custom-light: #c88df9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5af4",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 271.169,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63327,
    "c": 0.2234,
    "h": 304.7
  },
  "luminance": 0.2239
}

Semantic roles & 50–950 ramp

primary
#AA5AF4
secondary
#D4EFBB
accent
#E4016E
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA5AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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