#AA5ACF#AA5ACF

#AA5ACF is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.0% C 0.184 H 313.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AA5ACF
RGBrgb(170, 90, 207)
HSLhsl(281, 55%, 58%)
HSVhsv(281, 57%, 81%)
CMYKcmyk(17.9%, 56.5%, 0%, 18.8%)
CIE-LABlab(52.25, 51.83, -47.47)
CIE-LCHlch(52.25, 70.28, 317.51°)
OKLaboklab(61.03% 0.1276 -0.1329)
OKLCHoklch(61.03% 0.184 313.8)
XYZxyz(31.4943, 20.3643, 61.2910)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5ACF #7FCF5A
analogous
#6F5ACF #AA5ACF #CF5AB9
triadic
#AA5ACF #CFAA5A #5ACFAA
tetradic
#AA5ACF #CF6F5A #7FCF5A #5AB9CF
square
#AA5ACF #CF6F5A #7FCF5A #5AB9CF
split-complementary
#AA5ACF #B9CF5A #5ACF6F
monochromatic
#692787 #8E35B7 #AA5ACF #C289DD #DBB9EB

Accessibility & contrast

On white

4.14
#AA5ACF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AA5ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5ACF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5ACF#FFFFFF#000000##000000
##AA5ACF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3978D3
Deuteranopia (green-blind)
#567FCC
Tritanopia (blue-blind)
#A76E8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5acf;
/* rgb */ color: rgb(170, 90, 207);
/* oklch */ color: oklch(61.0% 0.184 313.8);
Tailwind
colors: {
  custom: {
    50: '#c68cde',
    500: '#aa5acf',
    950: '#000000',
  },
}
SCSS
$custom: #aa5acf;
$custom-light: #c68cde;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5acf",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 281.026,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.18418,
    "h": 313.8
  },
  "luminance": 0.20363
}

Semantic roles & 50–950 ramp

primary
#AA5ACF
secondary
#BADAAB
accent
#DE4A79
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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