#AA5EF2#AA5EF2

#AA5EF2 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.7% C 0.216 H 304.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AA5EF2
RGBrgb(170, 94, 242)
HSLhsl(271, 85%, 66%)
HSVhsv(271, 61%, 95%)
CMYKcmyk(29.8%, 61.2%, 0%, 5.1%)
CIE-LABlab(55.03, 57.60, -62.75)
CIE-LCHlch(55.03, 85.18, 312.55°)
OKLaboklab(63.72% 0.1227 -0.1776)
OKLCHoklch(63.72% 0.216 304.6)
XYZxyz(36.6037, 22.9624, 86.4910)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EF2 #A6F25E
analogous
#605EF2 #AA5EF2 #F25EF0
triadic
#AA5EF2 #F2AA5E #5EF2AA
tetradic
#AA5EF2 #F2605E #A6F25E #5EF0F2
square
#AA5EF2 #F2605E #A6F25E #5EF0F2
split-complementary
#AA5EF2 #F0F25E #5EF260
monochromatic
#6D10C6 #8C25ED #AA5EF2 #C897F7 #E6CFFB

Accessibility & contrast

On white

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

On black

5.59
#AA5EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EF2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EF2#FFFFFF#000000##000000
##AA5EF21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#3984EF
Tritanopia (blue-blind)
#9D7DA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5ef2;
/* rgb */ color: rgb(170, 94, 242);
/* oklch */ color: oklch(63.7% 0.216 304.6);
Tailwind
colors: {
  custom: {
    50: '#c88ff7',
    500: '#aa5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ef2;
$custom-light: #c88ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ef2",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 270.811,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63717,
    "c": 0.21589,
    "h": 304.6
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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