#AA5FC5#AA5FC5

#AA5FC5 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.2% C 0.166 H 316.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AA5FC5
RGBrgb(170, 95, 197)
HSLhsl(284, 47%, 57%)
HSVhsv(284, 52%, 77%)
CMYKcmyk(13.7%, 51.8%, 0%, 22.7%)
CIE-LABlab(52.69, 47.16, -41.05)
CIE-LCHlch(52.69, 62.52, 318.97°)
OKLaboklab(61.18% 0.1201 -0.1142)
OKLCHoklch(61.18% 0.166 316.4)
XYZxyz(30.7463, 20.7627, 55.2005)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FC5 #7AC55F
analogous
#775FC5 #AA5FC5 #C55FAD
triadic
#AA5FC5 #C5AA5F #5FC5AA
tetradic
#AA5FC5 #C5775F #7AC55F #5FADC5
square
#AA5FC5 #C5775F #7AC55F #5FADC5
split-complementary
#AA5FC5 #ADC55F #5FC577
monochromatic
#672D7C #8D3DA9 #AA5FC5 #C28CD5 #DAB9E6

Accessibility & contrast

On white

4.08
#AA5FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AA5FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FC5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FC5#FFFFFF#000000##000000
##AA5FC51.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4979C8
Deuteranopia (green-blind)
#6180C2
Tritanopia (blue-blind)
#A96E89
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5fc5;
/* rgb */ color: rgb(170, 95, 197);
/* oklch */ color: oklch(61.2% 0.166 316.4);
Tailwind
colors: {
  custom: {
    50: '#c58fd7',
    500: '#aa5fc5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fc5;
$custom-light: #c58fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fc5",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 284.118,
    "s": 46.789,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61184,
    "c": 0.16573,
    "h": 316.4
  },
  "luminance": 0.20762
}

Semantic roles & 50–950 ramp

primary
#AA5FC5
secondary
#B6D5AB
accent
#D65175
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83

Preview Lab

Preview with #AA5FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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