#AA3BA2#AA3BA2

#AA3BA2 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.7% C 0.187 H 330.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AA3BA2
RGBrgb(170, 59, 162)
HSLhsl(304, 48%, 45%)
HSVhsv(304, 65%, 67%)
CMYKcmyk(0%, 65.3%, 4.7%, 33.3%)
CIE-LABlab(44.64, 57.54, -33.28)
CIE-LCHlch(44.64, 66.47, 329.96°)
OKLaboklab(54.72% 0.1636 -0.0915)
OKLCHoklch(54.72% 0.187 330.8)
XYZxyz(24.6630, 14.2844, 35.6336)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3BA2 #3BAA43
analogous
#7A3BAA #AA3BA2 #AA3B6B
triadic
#AA3BA2 #A2AA3B #3BA2AA
tetradic
#AA3BA2 #AA7A3B #3BAA43 #3B6BAA
square
#AA3BA2 #AA7A3B #3BAA43 #3B6BAA
split-complementary
#AA3BA2 #6BAA3B #3BAA7A
monochromatic
#4F1B4B #7D2B77 #AA3BA2 #C65CBF #D689D1

Accessibility & contrast

On white

5.45
#AA3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AA3BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3BA2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3BA2#FFFFFF#000000##FFFFFF
##AA3BA21.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#5A6F9F
Tritanopia (blue-blind)
#B04769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa3ba2;
/* rgb */ color: rgb(170, 59, 162);
/* oklch */ color: oklch(54.7% 0.187 330.8);
Tailwind
colors: {
  custom: {
    50: '#c679be',
    500: '#aa3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #aa3ba2;
$custom-light: #c679be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3ba2",
  "rgb": {
    "r": 170,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 304.324,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54716,
    "c": 0.18743,
    "h": 330.8
  },
  "luminance": 0.14283
}

Semantic roles & 50–950 ramp

primary
#AA3BA2
secondary
#80C085
accent
#D85A50
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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