#AC2DB5#AC2DB5

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

Color values

HEX#AC2DB5
RGBrgb(172, 45, 181)
HSLhsl(296, 60%, 44%)
HSVhsv(296, 75%, 71%)
CMYKcmyk(5%, 75.1%, 0%, 29%)
CIE-LABlab(44.21, 66.25, -45.19)
CIE-LCHlch(44.21, 80.19, 325.70°)
OKLaboklab(54.81% 0.1804 -0.1258)
OKLCHoklch(54.81% 0.22 325.1)
XYZxyz(26.2915, 13.9854, 45.0217)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DB5 #36B52D
analogous
#682DB5 #AC2DB5 #B52D7A
triadic
#AC2DB5 #B5AC2D #2DB5AC
tetradic
#AC2DB5 #B5682D #36B52D #2D7AB5
square
#AC2DB5 #B5682D #36B52D #2D7AB5
split-complementary
#AC2DB5 #7AB52D #2DB568
monochromatic
#4F1553 #7D2184 #AC2DB5 #CA4DD3 #D87EDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2DB5#FFFFFF#000000##FFFFFF
##AC2DB51.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)
#005FB9
Deuteranopia (green-blind)
#4A6EB2
Tritanopia (blue-blind)
#B04570
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2db5;
/* rgb */ color: rgb(172, 45, 181);
/* oklch */ color: oklch(54.8% 0.220 325.1);
Tailwind
colors: {
  custom: {
    50: '#c974cc',
    500: '#ac2db5',
    950: '#000000',
  },
}
SCSS
$custom: #ac2db5;
$custom-light: #c974cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2db5",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 296.029,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.21996,
    "h": 325.1
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#AC2DB5
secondary
#7CC776
accent
#E3444F
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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