#AA5EF4#AA5EF4

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

Color values

HEX#AA5EF4
RGBrgb(170, 94, 244)
HSLhsl(270, 87%, 66%)
HSVhsv(270, 61%, 96%)
CMYKcmyk(30.3%, 61.5%, 0%, 4.3%)
CIE-LABlab(55.16, 58.06, -63.67)
CIE-LCHlch(55.16, 86.16, 312.36°)
OKLaboklab(63.85% 0.1226 -0.1803)
OKLCHoklch(63.85% 0.218 304.2)
XYZxyz(36.9057, 23.0832, 88.0816)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EF4 #A8F45E
analogous
#5F5EF4 #AA5EF4 #F45EF3
triadic
#AA5EF4 #F4AA5E #5EF4AA
tetradic
#AA5EF4 #F45F5E #A8F45E #5EF3F4
square
#AA5EF4 #F45F5E #A8F45E #5EF3F4
split-complementary
#AA5EF4 #F3F45E #5EF45F
monochromatic
#6D0ECA #8C25F0 #AA5EF4 #C897F8 #E6D1FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5EF4#FFFFFF#000000##000000
##AA5EF41.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)
#0082F9
Deuteranopia (green-blind)
#3784F1
Tritanopia (blue-blind)
#9C7DA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5ef4;
/* rgb */ color: rgb(170, 94, 244);
/* oklch */ color: oklch(63.8% 0.218 304.2);
Tailwind
colors: {
  custom: {
    50: '#c88ff8',
    500: '#aa5ef4',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ef4;
$custom-light: #c88ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ef4",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 270.4,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63847,
    "c": 0.21805,
    "h": 304.2
  },
  "luminance": 0.23083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA5EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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