#AA3FAC#AA3FAC

#AA3FAC is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.190 H 327.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AA3FAC
RGBrgb(170, 63, 172)
HSLhsl(299, 46%, 46%)
HSVhsv(299, 63%, 67%)
CMYKcmyk(1.2%, 63.4%, 0%, 32.5%)
CIE-LABlab(45.75, 57.60, -37.46)
CIE-LCHlch(45.75, 68.71, 326.96°)
OKLaboklab(55.68% 0.1596 -0.1036)
OKLCHoklch(55.68% 0.19 327)
XYZxyz(25.8010, 15.0813, 40.5737)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3FAC #41AC3F
analogous
#733FAC #AA3FAC #AC3F77
triadic
#AA3FAC #ACAA3F #3FACAA
tetradic
#AA3FAC #AC733F #41AC3F #3F77AC
square
#AA3FAC #AC733F #41AC3F #3F77AC
split-complementary
#AA3FAC #77AC3F #3FAC73
monochromatic
#511E52 #7E2F7F #AA3FAC #C463C6 #D58FD6

Accessibility & contrast

On white

5.23
#AA3FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AA3FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3FAC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3FAC#FFFFFF#000000##FFFFFF
##AA3FAC1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AF
Deuteranopia (green-blind)
#5771A9
Tritanopia (blue-blind)
#AF4E70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa3fac;
/* rgb */ color: rgb(170, 63, 172);
/* oklch */ color: oklch(55.7% 0.190 327.0);
Tailwind
colors: {
  custom: {
    50: '#c67cc5',
    500: '#aa3fac',
    950: '#000000',
  },
}
SCSS
$custom: #aa3fac;
$custom-light: #c67cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3fac",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 298.899,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.19029,
    "h": 327
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#AA3FAC
secondary
#87C186
accent
#D65254
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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