#AA5FC0#AA5FC0

#AA5FC0 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.9% C 0.160 H 318.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AA5FC0
RGBrgb(170, 95, 192)
HSLhsl(286, 43%, 56%)
HSVhsv(286, 51%, 75%)
CMYKcmyk(11.5%, 50.5%, 0%, 24.7%)
CIE-LABlab(52.44, 46.13, -38.57)
CIE-LCHlch(52.44, 60.12, 320.10°)
OKLaboklab(60.92% 0.1195 -0.107)
OKLCHoklch(60.92% 0.16 318.2)
XYZxyz(30.1829, 20.5373, 52.2331)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FC0 #75C05F
analogous
#7A5FC0 #AA5FC0 #C05FA6
triadic
#AA5FC0 #C0AA5F #5FC0AA
tetradic
#AA5FC0 #C07A5F #75C05F #5FA6C0
square
#AA5FC0 #C07A5F #75C05F #5FA6C0
split-complementary
#AA5FC0 #A6C05F #5FC07A
monochromatic
#662F76 #8C40A2 #AA5FC0 #C18BD1 #D9B7E3

Accessibility & contrast

On white

4.11
#AA5FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AA5FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FC0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FC0#FFFFFF#000000##000000
##AA5FC01.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C3
Deuteranopia (green-blind)
#6380BD
Tritanopia (blue-blind)
#AA6D87
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5fc0;
/* rgb */ color: rgb(170, 95, 192);
/* oklch */ color: oklch(60.9% 0.160 318.2);
Tailwind
colors: {
  custom: {
    50: '#c58fd3',
    500: '#aa5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fc0;
$custom-light: #c58fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fc0",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 286.392,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60918,
    "c": 0.16044,
    "h": 318.2
  },
  "luminance": 0.20536
}

Semantic roles & 50–950 ramp

primary
#AA5FC0
secondary
#B2D1A9
accent
#D35571
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83

Preview Lab

Preview with #AA5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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