#AC3FAC#AC3FAC

#AC3FAC is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.191 H 327.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AC3FAC
RGBrgb(172, 63, 172)
HSLhsl(300, 46%, 46%)
HSVhsv(300, 63%, 67%)
CMYKcmyk(0%, 63.4%, 0%, 32.5%)
CIE-LABlab(46.05, 58.10, -36.96)
CIE-LCHlch(46.05, 68.86, 327.54°)
OKLaboklab(55.97% 0.1619 -0.1021)
OKLCHoklch(55.97% 0.191 327.8)
XYZxyz(26.2368, 15.3060, 40.5942)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3FAC #3FAC3F
analogous
#753FAC #AC3FAC #AC3F75
triadic
#AC3FAC #ACAC3F #3FACAC
tetradic
#AC3FAC #AC753F #3FAC3F #3F75AC
square
#AC3FAC #AC753F #3FAC3F #3F75AC
split-complementary
#AC3FAC #75AC3F #3FAC75
monochromatic
#521E52 #7F2F7F #AC3FAC #C663C6 #D68FD6

Accessibility & contrast

On white

5.17
#AC3FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AC3FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3FAC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3FAC#FFFFFF#000000##FFFFFF
##AC3FAC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164AF
Deuteranopia (green-blind)
#5972A9
Tritanopia (blue-blind)
#B14D70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac3fac;
/* rgb */ color: rgb(172, 63, 172);
/* oklch */ color: oklch(56.0% 0.191 327.8);
Tailwind
colors: {
  custom: {
    50: '#c87cc5',
    500: '#ac3fac',
    950: '#000000',
  },
}
SCSS
$custom: #ac3fac;
$custom-light: #c87cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3fac",
  "rgb": {
    "r": 172,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55967,
    "c": 0.19137,
    "h": 327.8
  },
  "luminance": 0.15304
}

Semantic roles & 50–950 ramp

primary
#AC3FAC
secondary
#86C186
accent
#D65252
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AC3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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