#AA3FAA#AA3FAA

#AA3FAA is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.189 H 327.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AA3FAA
RGBrgb(170, 63, 170)
HSLhsl(300, 46%, 46%)
HSVhsv(300, 63%, 67%)
CMYKcmyk(0%, 62.9%, 0%, 33.3%)
CIE-LABlab(45.64, 57.25, -36.45)
CIE-LCHlch(45.64, 67.87, 327.52°)
OKLaboklab(55.58% 0.1595 -0.1006)
OKLCHoklch(55.58% 0.189 327.7)
XYZxyz(25.6104, 15.0050, 39.5698)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3FAA #3FAA3F
analogous
#743FAA #AA3FAA #AA3F74
triadic
#AA3FAA #AAAA3F #3FAAAA
tetradic
#AA3FAA #AA743F #3FAA3F #3F74AA
square
#AA3FAA #AA743F #3FAA3F #3F74AA
split-complementary
#AA3FAA #74AA3F #3FAA74
monochromatic
#511E51 #7D2E7D #AA3FAA #C562C5 #D58ED5

Accessibility & contrast

On white

5.25
#AA3FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AA3FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3FAA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3FAA#FFFFFF#000000##FFFFFF
##AA3FAA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AD
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#AF4D6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa3faa;
/* rgb */ color: rgb(170, 63, 170);
/* oklch */ color: oklch(55.6% 0.189 327.7);
Tailwind
colors: {
  custom: {
    50: '#c67cc4',
    500: '#aa3faa',
    950: '#000000',
  },
}
SCSS
$custom: #aa3faa;
$custom-light: #c67cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3faa",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55576,
    "c": 0.18859,
    "h": 327.7
  },
  "luminance": 0.15003
}

Semantic roles & 50–950 ramp

primary
#AA3FAA
secondary
#85C085
accent
#D65252
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA3FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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