#AA3AAF#AA3AAF

#AA3AAF is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.3% C 0.199 H 326.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AA3AAF
RGBrgb(170, 58, 175)
HSLhsl(297, 50%, 46%)
HSVhsv(297, 67%, 69%)
CMYKcmyk(2.9%, 66.9%, 0%, 31.4%)
CIE-LABlab(45.18, 60.16, -40.13)
CIE-LCHlch(45.18, 72.32, 326.29°)
OKLaboklab(55.33% 0.1654 -0.1113)
OKLCHoklch(55.33% 0.199 326.1)
XYZxyz(25.8280, 14.6690, 42.0201)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3AAF #3FAF3A
analogous
#6F3AAF #AA3AAF #AF3A79
triadic
#AA3AAF #AFAA3A #3AAFAA
tetradic
#AA3AAF #AF6F3A #3FAF3A #3A79AF
square
#AA3AAF #AF6F3A #3FAF3A #3A79AF
split-complementary
#AA3AAF #79AF3A #3AAF6F
monochromatic
#511C53 #7D2B81 #AA3AAF #C55DC9 #D58BD9

Accessibility & contrast

On white

5.34
#AA3AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AA3AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3AAF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3AAF#FFFFFF#000000##FFFFFF
##AA3AAF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#AE4B70
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa3aaf;
/* rgb */ color: rgb(170, 58, 175);
/* oklch */ color: oklch(55.3% 0.199 326.1);
Tailwind
colors: {
  custom: {
    50: '#c779c7',
    500: '#aa3aaf',
    950: '#000000',
  },
}
SCSS
$custom: #aa3aaf;
$custom-light: #c779c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3aaf",
  "rgb": {
    "r": 170,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 297.436,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55327,
    "c": 0.19939,
    "h": 326.1
  },
  "luminance": 0.14667
}

Semantic roles & 50–950 ramp

primary
#AA3AAF
secondary
#85C382
accent
#DA4E54
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA3AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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