#AA5FC8#AA5FC8

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

Color values

HEX#AA5FC8
RGBrgb(170, 95, 200)
HSLhsl(283, 49%, 58%)
HSVhsv(283, 53%, 78%)
CMYKcmyk(15%, 52.5%, 0%, 21.6%)
CIE-LABlab(52.84, 47.79, -42.52)
CIE-LCHlch(52.84, 63.97, 318.34°)
OKLaboklab(61.35% 0.1204 -0.1185)
OKLCHoklch(61.35% 0.169 315.5)
XYZxyz(31.0935, 20.9015, 57.0289)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FC8 #7DC85F
analogous
#755FC8 #AA5FC8 #C85FB1
triadic
#AA5FC8 #C8AA5F #5FC8AA
tetradic
#AA5FC8 #C8755F #7DC85F #5FB1C8
square
#AA5FC8 #C8755F #7DC85F #5FB1C8
split-complementary
#AA5FC8 #B1C85F #5FC875
monochromatic
#682C80 #8D3CAE #AA5FC8 #C28DD8 #DABAE7

Accessibility & contrast

On white

4.05
#AA5FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AA5FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FC8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FC8#FFFFFF#000000##000000
##AA5FC81.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ACC
Deuteranopia (green-blind)
#5F80C5
Tritanopia (blue-blind)
#A86F8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5fc8;
/* rgb */ color: rgb(170, 95, 200);
/* oklch */ color: oklch(61.3% 0.169 315.5);
Tailwind
colors: {
  custom: {
    50: '#c58fd9',
    500: '#aa5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fc8;
$custom-light: #c58fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fc8",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 282.857,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61346,
    "c": 0.16894,
    "h": 315.5
  },
  "luminance": 0.20901
}

Semantic roles & 50–950 ramp

primary
#AA5FC8
secondary
#B8D6AC
accent
#D84F77
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D15
muted
#827D83

Preview Lab

Preview with #AA5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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