#AA5EF5#AA5EF5

#AA5EF5 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.9% C 0.219 H 304.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AA5EF5
RGBrgb(170, 94, 245)
HSLhsl(270, 88%, 66%)
HSVhsv(270, 62%, 96%)
CMYKcmyk(30.6%, 61.6%, 0%, 3.9%)
CIE-LABlab(55.22, 58.29, -64.12)
CIE-LCHlch(55.22, 86.66, 312.27°)
OKLaboklab(63.91% 0.1225 -0.1817)
OKLCHoklch(63.91% 0.219 304)
XYZxyz(37.0580, 23.1441, 88.8835)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EF5 #A9F55E
analogous
#5F5EF5 #AA5EF5 #F55EF4
triadic
#AA5EF5 #F5AA5E #5EF5AA
tetradic
#AA5EF5 #F55F5E #A9F55E #5EF4F5
square
#AA5EF5 #F55F5E #A9F55E #5EF4F5
split-complementary
#AA5EF5 #F4F55E #5EF55F
monochromatic
#6D0DCC #8C24F1 #AA5EF5 #C898F9 #E7D1FC

Accessibility & contrast

On white

3.73
#AA5EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#AA5EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EF5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EF5#FFFFFF#000000##000000
##AA5EF51.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#3584F2
Tritanopia (blue-blind)
#9C7EA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5ef5;
/* rgb */ color: rgb(170, 94, 245);
/* oklch */ color: oklch(63.9% 0.219 304.0);
Tailwind
colors: {
  custom: {
    50: '#c88ff9',
    500: '#aa5ef5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ef5;
$custom-light: #c88ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ef5",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 270.199,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63912,
    "c": 0.21913,
    "h": 304
  },
  "luminance": 0.23144
}

Semantic roles & 50–950 ramp

primary
#AA5EF5
secondary
#D7F0BF
accent
#E50172
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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