#AA3FA6#AA3FA6

#AA3FA6 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.185 H 329.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AA3FA6
RGBrgb(170, 63, 166)
HSLhsl(302, 46%, 46%)
HSVhsv(302, 63%, 67%)
CMYKcmyk(0%, 62.9%, 2.4%, 33.3%)
CIE-LABlab(45.44, 56.56, -34.40)
CIE-LCHlch(45.44, 66.20, 328.69°)
OKLaboklab(55.36% 0.1592 -0.0947)
OKLCHoklch(55.36% 0.185 329.2)
XYZxyz(25.2378, 14.8560, 37.6072)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3FA6 #3FAA43
analogous
#783FAA #AA3FA6 #AA3F70
triadic
#AA3FA6 #A6AA3F #3FA6AA
tetradic
#AA3FA6 #AA783F #3FAA43 #3F70AA
square
#AA3FA6 #AA783F #3FAA43 #3F70AA
split-complementary
#AA3FA6 #70AA3F #3FAA78
monochromatic
#511E4F #7D2E7A #AA3FA6 #C562C1 #D58ED3

Accessibility & contrast

On white

5.29
#AA3FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AA3FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3FA6
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3FA6#FFFFFF#000000##FFFFFF
##AA3FA61.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A9
Deuteranopia (green-blind)
#5B71A3
Tritanopia (blue-blind)
#B04B6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa3fa6;
/* rgb */ color: rgb(170, 63, 166);
/* oklch */ color: oklch(55.4% 0.185 329.2);
Tailwind
colors: {
  custom: {
    50: '#c67cc1',
    500: '#aa3fa6',
    950: '#000000',
  },
}
SCSS
$custom: #aa3fa6;
$custom-light: #c67cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3fa6",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 302.243,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.18524,
    "h": 329.2
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

primary
#AA3FA6
secondary
#85C087
accent
#D65752
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA3FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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