#AC2CB7#AC2CB7

#AC2CB7 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.223 H 324.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AC2CB7
RGBrgb(172, 44, 183)
HSLhsl(295, 61%, 45%)
HSVhsv(295, 76%, 72%)
CMYKcmyk(6%, 76%, 0%, 28.2%)
CIE-LABlab(44.22, 66.90, -46.35)
CIE-LCHlch(44.22, 81.39, 325.29°)
OKLaboklab(54.85% 0.1812 -0.1292)
OKLCHoklch(54.85% 0.223 324.5)
XYZxyz(26.4605, 13.9926, 46.0977)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CB7 #37B72C
analogous
#672CB7 #AC2CB7 #B72C7C
triadic
#AC2CB7 #B7AC2C #2CB7AC
tetradic
#AC2CB7 #B7672C #37B72C #2C7CB7
square
#AC2CB7 #B7672C #37B72C #2C7CB7
split-complementary
#AC2CB7 #7CB72C #2CB767
monochromatic
#4F1454 #7E2086 #AC2CB7 #C94CD4 #D87EE0

Accessibility & contrast

On white

5.53
#AC2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AC2CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CB7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CB7#FFFFFF#000000##FFFFFF
##AC2CB71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#486EB4
Tritanopia (blue-blind)
#AF4670
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac2cb7;
/* rgb */ color: rgb(172, 44, 183);
/* oklch */ color: oklch(54.9% 0.223 324.5);
Tailwind
colors: {
  custom: {
    50: '#c974cd',
    500: '#ac2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #ac2cb7;
$custom-light: #c974cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2cb7",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 295.252,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54852,
    "c": 0.22252,
    "h": 324.5
  },
  "luminance": 0.13991
}

Semantic roles & 50–950 ramp

primary
#AC2CB7
secondary
#7DC876
accent
#E44350
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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