#AA5EF1#AA5EF1

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

Color values

HEX#AA5EF1
RGBrgb(170, 94, 241)
HSLhsl(271, 84%, 66%)
HSVhsv(271, 61%, 95%)
CMYKcmyk(29.5%, 61%, 0%, 5.5%)
CIE-LABlab(54.97, 57.37, -62.30)
CIE-LCHlch(54.97, 84.68, 312.64°)
OKLaboklab(63.65% 0.1227 -0.1763)
OKLCHoklch(63.65% 0.215 304.8)
XYZxyz(36.4540, 22.9025, 85.7022)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EF1 #A5F15E
analogous
#605EF1 #AA5EF1 #F15EEF
triadic
#AA5EF1 #F1AA5E #5EF1AA
tetradic
#AA5EF1 #F1605E #A5F15E #5EEFF1
square
#AA5EF1 #F1605E #A5F15E #5EEFF1
split-complementary
#AA5EF1 #EFF15E #5EF160
monochromatic
#6D11C4 #8C26EC #AA5EF1 #C896F6 #E5CFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5EF1#FFFFFF#000000##000000
##AA5EF11.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)
#0081F6
Deuteranopia (green-blind)
#3B84EE
Tritanopia (blue-blind)
#9D7C9F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5ef1;
/* rgb */ color: rgb(170, 94, 241);
/* oklch */ color: oklch(63.7% 0.215 304.8);
Tailwind
colors: {
  custom: {
    50: '#c88ff6',
    500: '#aa5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ef1;
$custom-light: #c88ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ef1",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 271.02,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63653,
    "c": 0.21481,
    "h": 304.8
  },
  "luminance": 0.22902
}

Semantic roles & 50–950 ramp

primary
#AA5EF1
secondary
#D5EEBD
accent
#E0056F
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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