#AA1CA7#AA1CA7

#AA1CA7 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.223 H 329.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AA1CA7
RGBrgb(170, 28, 167)
HSLhsl(301, 72%, 39%)
HSVhsv(301, 84%, 67%)
CMYKcmyk(0%, 83.5%, 1.8%, 33.3%)
CIE-LABlab(41.48, 68.12, -41.25)
CIE-LCHlch(41.48, 79.64, 328.80°)
OKLaboklab(52.54% 0.1917 -0.1143)
OKLCHoklch(52.54% 0.223 329.2)
XYZxyz(23.9677, 12.1685, 37.6381)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1CA7 #1CAA1F
analogous
#661CAA #AA1CA7 #AA1C60
triadic
#AA1CA7 #A7AA1C #1CA7AA
tetradic
#AA1CA7 #AA661C #1CAA1F #1C60AA
square
#AA1CA7 #AA661C #1CAA1F #1C60AA
split-complementary
#AA1CA7 #60AA1C #1CAA66
monochromatic
#410B40 #751373 #AA1CA7 #DC28D8 #E45CE1

Accessibility & contrast

On white

6.12
#AA1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AA1CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1CA7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1CA7#FFFFFF#000000##FFFFFF
##AA1CA71.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#4B68A4
Tritanopia (blue-blind)
#B03664
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa1ca7;
/* rgb */ color: rgb(170, 28, 167);
/* oklch */ color: oklch(52.5% 0.223 329.2);
Tailwind
colors: {
  custom: {
    50: '#c86dc2',
    500: '#aa1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #aa1ca7;
$custom-light: #c86dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1ca7",
  "rgb": {
    "r": 170,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 301.268,
    "s": 71.717,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5254,
    "c": 0.22323,
    "h": 329.2
  },
  "luminance": 0.12167
}

Semantic roles & 50–950 ramp

primary
#AA1CA7
secondary
#5AC85C
accent
#EE3D39
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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