#AA3FA1#AA3FA1

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

Color values

HEX#AA3FA1
RGBrgb(170, 63, 161)
HSLhsl(305, 46%, 46%)
HSVhsv(305, 63%, 67%)
CMYKcmyk(0%, 62.9%, 5.3%, 33.3%)
CIE-LABlab(45.19, 55.71, -31.82)
CIE-LCHlch(45.19, 64.16, 330.27°)
OKLaboklab(55.1% 0.1587 -0.0873)
OKLCHoklch(55.1% 0.181 331.2)
XYZxyz(24.7880, 14.6761, 35.2385)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3FA1 #3FAA48
analogous
#7D3FAA #AA3FA1 #AA3F6B
triadic
#AA3FA1 #A1AA3F #3FA1AA
tetradic
#AA3FA1 #AA7D3F #3FAA48 #3F6BAA
square
#AA3FA1 #AA7D3F #3FAA48 #3F6BAA
split-complementary
#AA3FA1 #6BAA3F #3FAA7D
monochromatic
#511E4C #7D2E77 #AA3FA1 #C562BC #D58ECF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA3FA1#FFFFFF#000000##FFFFFF
##AA3FA11.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)
#3961A4
Deuteranopia (green-blind)
#5D709E
Tritanopia (blue-blind)
#B1496A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa3fa1;
/* rgb */ color: rgb(170, 63, 161);
/* oklch */ color: oklch(55.1% 0.181 331.2);
Tailwind
colors: {
  custom: {
    50: '#c67bbd',
    500: '#aa3fa1',
    950: '#000000',
  },
}
SCSS
$custom: #aa3fa1;
$custom-light: #c67bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3fa1",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 305.047,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55098,
    "c": 0.18114,
    "h": 331.2
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#AA3FA1
secondary
#85C08A
accent
#D65D52
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA3FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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