#AC3FA7#AC3FA7

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

Color values

HEX#AC3FA7
RGBrgb(172, 63, 167)
HSLhsl(303, 46%, 46%)
HSVhsv(303, 63%, 67%)
CMYKcmyk(0%, 63.4%, 2.9%, 32.5%)
CIE-LABlab(45.79, 57.24, -34.41)
CIE-LCHlch(45.79, 66.79, 328.99°)
OKLaboklab(55.7% 0.1615 -0.0947)
OKLCHoklch(55.7% 0.187 329.6)
XYZxyz(25.7656, 15.1175, 38.1126)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3FA7 #3FAC44
analogous
#7A3FAC #AC3FA7 #AC3F70
triadic
#AC3FA7 #A7AC3F #3FA7AC
tetradic
#AC3FA7 #AC7A3F #3FAC44 #3F70AC
square
#AC3FA7 #AC7A3F #3FAC44 #3F70AC
split-complementary
#AC3FA7 #70AC3F #3FAC7A
monochromatic
#521E50 #7F2F7C #AC3FA7 #C663C1 #D68FD3

Accessibility & contrast

On white

5.22
#AC3FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC3FA7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3FA7#FFFFFF#000000##FFFFFF
##AC3FA71.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AA
Deuteranopia (green-blind)
#5C72A4
Tritanopia (blue-blind)
#B24B6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ac3fa7;
/* rgb */ color: rgb(172, 63, 167);
/* oklch */ color: oklch(55.7% 0.187 329.6);
Tailwind
colors: {
  custom: {
    50: '#c87cc1',
    500: '#ac3fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ac3fa7;
$custom-light: #c87cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3fa7",
  "rgb": {
    "r": 172,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 302.752,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55698,
    "c": 0.18722,
    "h": 329.6
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#AC3FA7
secondary
#86C188
accent
#D65852
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AC3FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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