#AA3BA6#AA3BA6

#AA3BA6 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.9% C 0.191 H 329.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AA3BA6
RGBrgb(170, 59, 166)
HSLhsl(302, 48%, 45%)
HSVhsv(302, 65%, 67%)
CMYKcmyk(0%, 65.3%, 2.4%, 33.3%)
CIE-LABlab(44.84, 58.21, -35.34)
CIE-LCHlch(44.84, 68.10, 328.74°)
OKLaboklab(54.93% 0.1639 -0.0974)
OKLCHoklch(54.93% 0.191 329.3)
XYZxyz(25.0242, 14.4289, 37.5360)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3BA6 #3BAA3F
analogous
#763BAA #AA3BA6 #AA3B6F
triadic
#AA3BA6 #A6AA3B #3BA6AA
tetradic
#AA3BA6 #AA763B #3BAA3F #3B6FAA
square
#AA3BA6 #AA763B #3BAA3F #3B6FAA
split-complementary
#AA3BA6 #6FAA3B #3BAA76
monochromatic
#4F1B4D #7D2B7A #AA3BA6 #C65CC3 #D689D3

Accessibility & contrast

On white

5.40
#AA3BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AA3BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3BA6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3BA6#FFFFFF#000000##FFFFFF
##AA3BA61.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A9
Deuteranopia (green-blind)
#586FA3
Tritanopia (blue-blind)
#B0486B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa3ba6;
/* rgb */ color: rgb(170, 59, 166);
/* oklch */ color: oklch(54.9% 0.191 329.3);
Tailwind
colors: {
  custom: {
    50: '#c679c1',
    500: '#aa3ba6',
    950: '#000000',
  },
}
SCSS
$custom: #aa3ba6;
$custom-light: #c679c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3ba6",
  "rgb": {
    "r": 170,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 302.162,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54929,
    "c": 0.19067,
    "h": 329.3
  },
  "luminance": 0.14427
}

Semantic roles & 50–950 ramp

primary
#AA3BA6
secondary
#80C083
accent
#D85550
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA3BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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