#AA3FA7#AA3FA7

#AA3FA7 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.186 H 328.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AA3FA7
RGBrgb(170, 63, 167)
HSLhsl(302, 46%, 46%)
HSVhsv(302, 63%, 67%)
CMYKcmyk(0%, 62.9%, 1.8%, 33.3%)
CIE-LABlab(45.49, 56.73, -34.91)
CIE-LCHlch(45.49, 66.61, 328.39°)
OKLaboklab(55.41% 0.1593 -0.0962)
OKLCHoklch(55.41% 0.186 328.9)
XYZxyz(25.3299, 14.8928, 38.0922)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3FA7 #3FAA42
analogous
#773FAA #AA3FA7 #AA3F71
triadic
#AA3FA7 #A7AA3F #3FA7AA
tetradic
#AA3FA7 #AA773F #3FAA42 #3F71AA
square
#AA3FA7 #AA773F #3FAA42 #3F71AA
split-complementary
#AA3FA7 #71AA3F #3FAA77
monochromatic
#511E4F #7D2E7B #AA3FA7 #C562C2 #D58ED3

Accessibility & contrast

On white

5.28
#AA3FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AA3FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3FA7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3FA7#FFFFFF#000000##FFFFFF
##AA3FA71.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462AA
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#B04C6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa3fa7;
/* rgb */ color: rgb(170, 63, 167);
/* oklch */ color: oklch(55.4% 0.186 328.9);
Tailwind
colors: {
  custom: {
    50: '#c67cc1',
    500: '#aa3fa7',
    950: '#000000',
  },
}
SCSS
$custom: #aa3fa7;
$custom-light: #c67cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3fa7",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 301.682,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.18607,
    "h": 328.9
  },
  "luminance": 0.14891
}

Semantic roles & 50–950 ramp

primary
#AA3FA7
secondary
#85C086
accent
#D65652
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA3FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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