#AC2DBB#AC2DBB

#AC2DBB is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.2% C 0.225 H 323.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AC2DBB
RGBrgb(172, 45, 187)
HSLhsl(294, 61%, 45%)
HSVhsv(294, 76%, 73%)
CMYKcmyk(8%, 75.9%, 0%, 26.7%)
CIE-LABlab(44.57, 67.28, -48.13)
CIE-LCHlch(44.57, 82.73, 324.42°)
OKLaboklab(55.18% 0.18 -0.1345)
OKLCHoklch(55.18% 0.225 323.2)
XYZxyz(26.9204, 14.2369, 48.3341)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DBB #3CBB2D
analogous
#652DBB #AC2DBB #BB2D83
triadic
#AC2DBB #BBAC2D #2DBBAC
tetradic
#AC2DBB #BB652D #3CBB2D #2D83BB
square
#AC2DBB #BB652D #3CBB2D #2D83BB
split-complementary
#AC2DBB #83BB2D #2DBB65
monochromatic
#511558 #7F218A #AC2DBB #C750D5 #D782E1

Accessibility & contrast

On white

5.46
#AC2DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AC2DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DBB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DBB#FFFFFF#000000##FFFFFF
##AC2DBB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#466EB8
Tritanopia (blue-blind)
#AF4873
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac2dbb;
/* rgb */ color: rgb(172, 45, 187);
/* oklch */ color: oklch(55.2% 0.225 323.2);
Tailwind
colors: {
  custom: {
    50: '#c974d0',
    500: '#ac2dbb',
    950: '#000000',
  },
}
SCSS
$custom: #ac2dbb;
$custom-light: #c974d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2dbb",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 293.662,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55177,
    "c": 0.2247,
    "h": 323.2
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

primary
#AC2DBB
secondary
#82CA7A
accent
#E44354
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC2DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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