#AA3FA8#AA3FA8

#AA3FA8 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.5% C 0.187 H 328.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AA3FA8
RGBrgb(170, 63, 168)
HSLhsl(301, 46%, 46%)
HSVhsv(301, 63%, 67%)
CMYKcmyk(0%, 62.9%, 1.2%, 33.3%)
CIE-LABlab(45.54, 56.90, -35.43)
CIE-LCHlch(45.54, 67.03, 328.10°)
OKLaboklab(55.47% 0.1594 -0.0977)
OKLCHoklch(55.47% 0.187 328.5)
XYZxyz(25.4227, 14.9299, 38.5809)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3FA8 #3FAA41
analogous
#763FAA #AA3FA8 #AA3F73
triadic
#AA3FA8 #A8AA3F #3FA8AA
tetradic
#AA3FA8 #AA763F #3FAA41 #3F73AA
square
#AA3FA8 #AA763F #3FAA41 #3F73AA
split-complementary
#AA3FA8 #73AA3F #3FAA76
monochromatic
#511E50 #7D2E7C #AA3FA8 #C562C3 #D58ED4

Accessibility & contrast

On white

5.27
#AA3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AA3FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3FA8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3FA8#FFFFFF#000000##FFFFFF
##AA3FA81.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AB
Deuteranopia (green-blind)
#5A71A5
Tritanopia (blue-blind)
#AF4C6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa3fa8;
/* rgb */ color: rgb(170, 63, 168);
/* oklch */ color: oklch(55.5% 0.187 328.5);
Tailwind
colors: {
  custom: {
    50: '#c67cc2',
    500: '#aa3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #aa3fa8;
$custom-light: #c67cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3fa8",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 301.121,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55467,
    "c": 0.18691,
    "h": 328.5
  },
  "luminance": 0.14928
}

Semantic roles & 50–950 ramp

primary
#AA3FA8
secondary
#85C086
accent
#D65552
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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