#AA5EF7#AA5EF7

#AA5EF7 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.0% C 0.221 H 303.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AA5EF7
RGBrgb(170, 94, 247)
HSLhsl(270, 91%, 67%)
HSVhsv(270, 62%, 97%)
CMYKcmyk(31.2%, 61.9%, 0%, 3.1%)
CIE-LABlab(55.35, 58.75, -65.03)
CIE-LCHlch(55.35, 87.64, 312.10°)
OKLaboklab(64.04% 0.1224 -0.1844)
OKLCHoklch(64.04% 0.221 303.6)
XYZxyz(37.3650, 23.2669, 90.5001)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EF7 #ABF75E
analogous
#5E5FF7 #AA5EF7 #F75EF7
triadic
#AA5EF7 #F7AA5E #5EF7AA
tetradic
#AA5EF7 #F75E5F #ABF75E #5EF7F7
square
#AA5EF7 #F75E5F #ABF75E #5EF7F7
split-complementary
#AA5EF7 #F7F75E #5FF75E
monochromatic
#6D0AD0 #8B24F4 #AA5EF7 #C998FA #E8D3FD

Accessibility & contrast

On white

3.71
#AA5EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#AA5EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EF7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EF7#FFFFFF#000000##000000
##AA5EF71.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FC
Deuteranopia (green-blind)
#3284F4
Tritanopia (blue-blind)
#9B7EA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #aa5ef7;
/* rgb */ color: rgb(170, 94, 247);
/* oklch */ color: oklch(64.0% 0.221 303.6);
Tailwind
colors: {
  custom: {
    50: '#c88ffb',
    500: '#aa5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ef7;
$custom-light: #c88ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ef7",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 269.804,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64044,
    "c": 0.22131,
    "h": 303.6
  },
  "luminance": 0.23267
}

Semantic roles & 50–950 ramp

primary
#AA5EF7
secondary
#D9F1C0
accent
#E60073
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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