#AA5DF4#AA5DF4

#AA5DF4 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.7% C 0.219 H 304.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AA5DF4
RGBrgb(170, 93, 244)
HSLhsl(271, 87%, 66%)
HSVhsv(271, 62%, 96%)
CMYKcmyk(30.3%, 61.9%, 0%, 4.3%)
CIE-LABlab(54.98, 58.55, -63.96)
CIE-LCHlch(54.98, 86.71, 312.47°)
OKLaboklab(63.72% 0.1237 -0.1812)
OKLCHoklch(63.72% 0.219 304.3)
XYZxyz(36.8174, 22.9065, 88.0522)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DF4 #A7F45D
analogous
#5E5DF4 #AA5DF4 #F45DF2
triadic
#AA5DF4 #F4AA5D #5DF4AA
tetradic
#AA5DF4 #F45E5D #A7F45D #5DF2F4
square
#AA5DF4 #F45E5D #A7F45D #5DF2F4
split-complementary
#AA5DF4 #F2F45D #5DF45E
monochromatic
#6D0EC9 #8C24F0 #AA5DF4 #C896F8 #E6D0FC

Accessibility & contrast

On white

3.76
#AA5DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#AA5DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DF4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DF4#FFFFFF#000000##000000
##AA5DF41.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F9
Deuteranopia (green-blind)
#3584F1
Tritanopia (blue-blind)
#9C7DA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5df4;
/* rgb */ color: rgb(170, 93, 244);
/* oklch */ color: oklch(63.7% 0.219 304.3);
Tailwind
colors: {
  custom: {
    50: '#c88ff9',
    500: '#aa5df4',
    950: '#000000',
  },
}
SCSS
$custom: #aa5df4;
$custom-light: #c88ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5df4",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 270.596,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63715,
    "c": 0.21941,
    "h": 304.3
  },
  "luminance": 0.22906
}

Semantic roles & 50–950 ramp

primary
#AA5DF4
secondary
#D6EFBE
accent
#E40271
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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