#AA5FC7#AA5FC7

#AA5FC7 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.3% C 0.168 H 315.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AA5FC7
RGBrgb(170, 95, 199)
HSLhsl(283, 48%, 58%)
HSVhsv(283, 52%, 78%)
CMYKcmyk(14.6%, 52.3%, 0%, 22%)
CIE-LABlab(52.79, 47.58, -42.03)
CIE-LCHlch(52.79, 63.49, 318.54°)
OKLaboklab(61.29% 0.1203 -0.1171)
OKLCHoklch(61.29% 0.168 315.8)
XYZxyz(30.9770, 20.8549, 56.4154)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FC7 #7CC75F
analogous
#765FC7 #AA5FC7 #C75FB0
triadic
#AA5FC7 #C7AA5F #5FC7AA
tetradic
#AA5FC7 #C7765F #7CC75F #5FB0C7
square
#AA5FC7 #C7765F #7CC75F #5FB0C7
split-complementary
#AA5FC7 #B0C75F #5FC776
monochromatic
#682C7F #8D3CAC #AA5FC7 #C28CD7 #DABAE7

Accessibility & contrast

On white

4.06
#AA5FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AA5FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FC7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FC7#FFFFFF#000000##000000
##AA5FC71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4879CA
Deuteranopia (green-blind)
#6080C4
Tritanopia (blue-blind)
#A86F8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5fc7;
/* rgb */ color: rgb(170, 95, 199);
/* oklch */ color: oklch(61.3% 0.168 315.8);
Tailwind
colors: {
  custom: {
    50: '#c58fd8',
    500: '#aa5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fc7;
$custom-light: #c58fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fc7",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 283.269,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61292,
    "c": 0.16787,
    "h": 315.8
  },
  "luminance": 0.20854
}

Semantic roles & 50–950 ramp

primary
#AA5FC7
secondary
#B8D6AC
accent
#D85076
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83

Preview Lab

Preview with #AA5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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