#AA5FF0#AA5FF0

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

Color values

HEX#AA5FF0
RGBrgb(170, 95, 240)
HSLhsl(271, 83%, 66%)
HSVhsv(271, 60%, 94%)
CMYKcmyk(29.2%, 60.4%, 0%, 5.9%)
CIE-LABlab(55.09, 56.64, -61.54)
CIE-LCHlch(55.09, 83.63, 312.62°)
OKLaboklab(63.72% 0.1216 -0.1741)
OKLCHoklch(63.72% 0.212 304.9)
XYZxyz(36.3945, 23.0219, 84.9475)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FF0 #A5F05F
analogous
#615FF0 #AA5FF0 #F05FEE
triadic
#AA5FF0 #F0AA5F #5FF0AA
tetradic
#AA5FF0 #F0615F #A5F05F #5FEEF0
square
#AA5FF0 #F0615F #A5F05F #5FEEF0
split-complementary
#AA5FF0 #EEF05F #5FF061
monochromatic
#6D12C2 #8C27EB #AA5FF0 #C897F5 #E5CFFA

Accessibility & contrast

On white

3.75
#AA5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AA5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FF0
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FF0#FFFFFF#000000##000000
##AA5FF01.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A82F5
Deuteranopia (green-blind)
#3E84ED
Tritanopia (blue-blind)
#9E7D9F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5ff0;
/* rgb */ color: rgb(170, 95, 240);
/* oklch */ color: oklch(63.7% 0.212 304.9);
Tailwind
colors: {
  custom: {
    50: '#c790f6',
    500: '#aa5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ff0;
$custom-light: #c790f6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ff0",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 271.034,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63722,
    "c": 0.21235,
    "h": 304.9
  },
  "luminance": 0.23022
}

Semantic roles & 50–950 ramp

primary
#AA5FF0
secondary
#D5EEBD
accent
#DF066F
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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