#AC2DB7#AC2DB7

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

Color values

HEX#AC2DB7
RGBrgb(172, 45, 183)
HSLhsl(295, 61%, 45%)
HSVhsv(295, 75%, 72%)
CMYKcmyk(6%, 75.4%, 0%, 28.2%)
CIE-LABlab(44.33, 66.59, -46.17)
CIE-LCHlch(44.33, 81.03, 325.26°)
OKLaboklab(54.93% 0.1803 -0.1287)
OKLCHoklch(54.93% 0.222 324.5)
XYZxyz(26.4982, 14.0680, 46.1103)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DB7 #38B72D
analogous
#672DB7 #AC2DB7 #B72D7D
triadic
#AC2DB7 #B7AC2D #2DB7AC
tetradic
#AC2DB7 #B7672D #38B72D #2D7DB7
square
#AC2DB7 #B7672D #38B72D #2D7DB7
split-complementary
#AC2DB7 #7DB72D #2DB767
monochromatic
#501555 #7E2186 #AC2DB7 #C94ED3 #D87FDF

Accessibility & contrast

On white

5.51
#AC2DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AC2DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DB7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DB7#FFFFFF#000000##FFFFFF
##AC2DB71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2db7;
/* rgb */ color: rgb(172, 45, 183);
/* oklch */ color: oklch(54.9% 0.222 324.5);
Tailwind
colors: {
  custom: {
    50: '#c974cd',
    500: '#ac2db7',
    950: '#000000',
  },
}
SCSS
$custom: #ac2db7;
$custom-light: #c974cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2db7",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 295.217,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54929,
    "c": 0.22153,
    "h": 324.5
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

primary
#AC2DB7
secondary
#7EC878
accent
#E44451
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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