#AA5FF1#AA5FF1

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

Color values

HEX#AA5FF1
RGBrgb(170, 95, 241)
HSLhsl(271, 84%, 66%)
HSVhsv(271, 61%, 95%)
CMYKcmyk(29.5%, 60.6%, 0%, 5.5%)
CIE-LABlab(55.16, 56.87, -62.00)
CIE-LCHlch(55.16, 84.13, 312.53°)
OKLaboklab(63.79% 0.1216 -0.1754)
OKLCHoklch(63.79% 0.213 304.7)
XYZxyz(36.5435, 23.0815, 85.7320)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FF1 #A6F15F
analogous
#615FF1 #AA5FF1 #F15FEF
triadic
#AA5FF1 #F1AA5F #5FF1AA
tetradic
#AA5FF1 #F1615F #A6F15F #5FEFF1
square
#AA5FF1 #F1615F #A6F15F #5FEFF1
split-complementary
#AA5FF1 #EFF15F #5FF161
monochromatic
#6D11C4 #8C27EC #AA5FF1 #C897F6 #E6D0FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5FF1#FFFFFF#000000##000000
##AA5FF11.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)
#0582F6
Deuteranopia (green-blind)
#3C84EE
Tritanopia (blue-blind)
#9D7D9F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5ff1;
/* rgb */ color: rgb(170, 95, 241);
/* oklch */ color: oklch(63.8% 0.213 304.7);
Tailwind
colors: {
  custom: {
    50: '#c790f6',
    500: '#aa5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ff1;
$custom-light: #c790f6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ff1",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 270.822,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63787,
    "c": 0.21344,
    "h": 304.7
  },
  "luminance": 0.23081
}

Semantic roles & 50–950 ramp

primary
#AA5FF1
secondary
#D5EEBE
accent
#E00570
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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