#AC2FA6#AC2FA6

#AC2FA6 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.206 H 330.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AC2FA6
RGBrgb(172, 47, 166)
HSLhsl(303, 57%, 43%)
HSVhsv(303, 73%, 67%)
CMYKcmyk(0%, 72.7%, 3.5%, 32.5%)
CIE-LABlab(43.59, 63.12, -37.29)
CIE-LCHlch(43.59, 73.31, 329.43°)
OKLaboklab(54.09% 0.1788 -0.1029)
OKLCHoklch(54.09% 0.206 330.1)
XYZxyz(24.9126, 13.5588, 37.3740)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FA6 #2FAC35
analogous
#732FAC #AC2FA6 #AC2F67
triadic
#AC2FA6 #A6AC2F #2FA6AC
tetradic
#AC2FA6 #AC732F #2FAC35 #2F67AC
square
#AC2FA6 #AC732F #2FAC35 #2F67AC
split-complementary
#AC2FA6 #67AC2F #2FAC73
monochromatic
#4C1549 #7C2278 #AC2FA6 #CE4BC7 #DB7BD6

Accessibility & contrast

On white

5.66
#AC2FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AC2FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FA6
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FA6#FFFFFF#000000##FFFFFF
##AC2FA61.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205CA9
Deuteranopia (green-blind)
#546DA3
Tritanopia (blue-blind)
#B23F68
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2fa6;
/* rgb */ color: rgb(172, 47, 166);
/* oklch */ color: oklch(54.1% 0.206 330.1);
Tailwind
colors: {
  custom: {
    50: '#c874c1',
    500: '#ac2fa6',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fa6;
$custom-light: #c874c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fa6",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 302.88,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54092,
    "c": 0.20625,
    "h": 330.1
  },
  "luminance": 0.13557
}

Semantic roles & 50–950 ramp

primary
#AC2FA6
secondary
#74C377
accent
#E04F47
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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