#AA5DF1#AA5DF1

#AA5DF1 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.5% C 0.216 H 305.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AA5DF1
RGBrgb(170, 93, 241)
HSLhsl(271, 84%, 65%)
HSVhsv(271, 61%, 95%)
CMYKcmyk(29.5%, 61.4%, 0%, 5.5%)
CIE-LABlab(54.79, 57.86, -62.59)
CIE-LCHlch(54.79, 85.24, 312.75°)
OKLaboklab(63.52% 0.1239 -0.1772)
OKLCHoklch(63.52% 0.216 305)
XYZxyz(36.3656, 22.7258, 85.6728)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DF1 #A4F15D
analogous
#605DF1 #AA5DF1 #F15DEE
triadic
#AA5DF1 #F1AA5D #5DF1AA
tetradic
#AA5DF1 #F1605D #A4F15D #5DEEF1
square
#AA5DF1 #F1605D #A4F15D #5DEEF1
split-complementary
#AA5DF1 #EEF15D #5DF160
monochromatic
#6D11C3 #8C25EC #AA5DF1 #C895F6 #E5CEFB

Accessibility & contrast

On white

3.79
#AA5DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#AA5DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DF1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DF1#FFFFFF#000000##000000
##AA5DF11.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F6
Deuteranopia (green-blind)
#3983EE
Tritanopia (blue-blind)
#9D7C9F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa5df1;
/* rgb */ color: rgb(170, 93, 241);
/* oklch */ color: oklch(63.5% 0.216 305.0);
Tailwind
colors: {
  custom: {
    50: '#c88ff6',
    500: '#aa5df1',
    950: '#000000',
  },
}
SCSS
$custom: #aa5df1;
$custom-light: #c88ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5df1",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 271.216,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6352,
    "c": 0.21618,
    "h": 305
  },
  "luminance": 0.22726
}

Semantic roles & 50–950 ramp

primary
#AA5DF1
secondary
#D4EEBC
accent
#E1056E
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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