#AC2BA5#AC2BA5

#AC2BA5 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.210 H 330.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AC2BA5
RGBrgb(172, 43, 165)
HSLhsl(303, 60%, 42%)
HSVhsv(303, 75%, 67%)
CMYKcmyk(0%, 75%, 4.1%, 32.5%)
CIE-LABlab(43.09, 64.25, -37.49)
CIE-LCHlch(43.09, 74.38, 329.74°)
OKLaboklab(53.71% 0.1824 -0.1035)
OKLCHoklch(53.71% 0.21 330.4)
XYZxyz(24.6686, 13.2170, 36.8419)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2BA5 #2BAC32
analogous
#732BAC #AC2BA5 #AC2B64
triadic
#AC2BA5 #A5AC2B #2BA5AC
tetradic
#AC2BA5 #AC732B #2BAC32 #2B64AC
square
#AC2BA5 #AC732B #2BAC32 #2B64AC
split-complementary
#AC2BA5 #64AC2B #2BAC73
monochromatic
#4A1347 #7B1F76 #AC2BA5 #D044C9 #DC75D7

Accessibility & contrast

On white

5.76
#AC2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AC2BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2BA5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2BA5#FFFFFF#000000##FFFFFF
##AC2BA51.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5BA8
Deuteranopia (green-blind)
#536CA2
Tritanopia (blue-blind)
#B33C66
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2ba5;
/* rgb */ color: rgb(172, 43, 165);
/* oklch */ color: oklch(53.7% 0.210 330.4);
Tailwind
colors: {
  custom: {
    50: '#c972c0',
    500: '#ac2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ba5;
$custom-light: #c972c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ba5",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 303.256,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53713,
    "c": 0.20973,
    "h": 330.4
  },
  "luminance": 0.13215
}

Semantic roles & 50–950 ramp

primary
#AC2BA5
secondary
#6FC473
accent
#E34D45
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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