#AA3FA2#AA3FA2

#AA3FA2 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.182 H 330.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AA3FA2
RGBrgb(170, 63, 162)
HSLhsl(304, 46%, 46%)
HSVhsv(304, 63%, 67%)
CMYKcmyk(0%, 62.9%, 4.7%, 33.3%)
CIE-LABlab(45.24, 55.88, -32.34)
CIE-LCHlch(45.24, 64.56, 329.94°)
OKLaboklab(55.15% 0.1588 -0.0888)
OKLCHoklch(55.15% 0.182 330.8)
XYZxyz(24.8765, 14.7115, 35.7048)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3FA2 #3FAA47
analogous
#7C3FAA #AA3FA2 #AA3F6C
triadic
#AA3FA2 #A2AA3F #3FA2AA
tetradic
#AA3FA2 #AA7C3F #3FAA47 #3F6CAA
square
#AA3FA2 #AA7C3F #3FAA47 #3F6CAA
split-complementary
#AA3FA2 #6CAA3F #3FAA7C
monochromatic
#511E4D #7D2E77 #AA3FA2 #C562BD #D58ED0

Accessibility & contrast

On white

5.33
#AA3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AA3FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3FA2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3FA2#FFFFFF#000000##FFFFFF
##AA3FA21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A5
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#B04A6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa3fa2;
/* rgb */ color: rgb(170, 63, 162);
/* oklch */ color: oklch(55.1% 0.182 330.8);
Tailwind
colors: {
  custom: {
    50: '#c67bbe',
    500: '#aa3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #aa3fa2;
$custom-light: #c67bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3fa2",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 304.486,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5515,
    "c": 0.18195,
    "h": 330.8
  },
  "luminance": 0.1471
}

Semantic roles & 50–950 ramp

primary
#AA3FA2
secondary
#85C089
accent
#D65C52
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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