#AA5FF2#AA5FF2

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

Color values

HEX#AA5FF2
RGBrgb(170, 95, 242)
HSLhsl(271, 85%, 66%)
HSVhsv(271, 61%, 95%)
CMYKcmyk(29.8%, 60.7%, 0%, 5.1%)
CIE-LABlab(55.22, 57.10, -62.46)
CIE-LCHlch(55.22, 84.62, 312.43°)
OKLaboklab(63.85% 0.1215 -0.1768)
OKLCHoklch(63.85% 0.215 304.5)
XYZxyz(36.6932, 23.1414, 86.5209)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FF2 #A7F25F
analogous
#605FF2 #AA5FF2 #F25FF1
triadic
#AA5FF2 #F2AA5F #5FF2AA
tetradic
#AA5FF2 #F2605F #A7F25F #5FF1F2
square
#AA5FF2 #F2605F #A7F25F #5FF1F2
split-complementary
#AA5FF2 #F1F25F #5FF260
monochromatic
#6D10C6 #8C26ED #AA5FF2 #C898F7 #E6D0FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5FF2#FFFFFF#000000##000000
##AA5FF21.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)
#0082F7
Deuteranopia (green-blind)
#3B84EF
Tritanopia (blue-blind)
#9D7DA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5ff2;
/* rgb */ color: rgb(170, 95, 242);
/* oklch */ color: oklch(63.9% 0.215 304.5);
Tailwind
colors: {
  custom: {
    50: '#c890f7',
    500: '#aa5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ff2;
$custom-light: #c890f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ff2",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 270.612,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63851,
    "c": 0.21452,
    "h": 304.5
  },
  "luminance": 0.23141
}

Semantic roles & 50–950 ramp

primary
#AA5FF2
secondary
#D6EFBE
accent
#E10470
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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