#AC2DB3#AC2DB3

#AC2DB3 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.218 H 325.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AC2DB3
RGBrgb(172, 45, 179)
HSLhsl(297, 60%, 44%)
HSVhsv(297, 75%, 70%)
CMYKcmyk(3.9%, 74.9%, 0%, 29.8%)
CIE-LABlab(44.09, 65.91, -44.19)
CIE-LCHlch(44.09, 79.36, 326.16°)
OKLaboklab(54.69% 0.1805 -0.123)
OKLCHoklch(54.69% 0.218 325.7)
XYZxyz(26.0878, 13.9039, 43.9487)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DB3 #34B32D
analogous
#692DB3 #AC2DB3 #B32D77
triadic
#AC2DB3 #B3AC2D #2DB3AC
tetradic
#AC2DB3 #B3692D #34B32D #2D77B3
square
#AC2DB3 #B3692D #34B32D #2D77B3
split-complementary
#AC2DB3 #77B32D #2DB369
monochromatic
#4E1451 #7D2182 #AC2DB3 #CB4BD2 #D97CDE

Accessibility & contrast

On white

5.55
#AC2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AC2DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DB3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DB3#FFFFFF#000000##FFFFFF
##AC2DB31.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#B0446E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2db3;
/* rgb */ color: rgb(172, 45, 179);
/* oklch */ color: oklch(54.7% 0.218 325.7);
Tailwind
colors: {
  custom: {
    50: '#c974ca',
    500: '#ac2db3',
    950: '#000000',
  },
}
SCSS
$custom: #ac2db3;
$custom-light: #c974ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2db3",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 296.866,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.21839,
    "h": 325.7
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#AC2DB3
secondary
#79C775
accent
#E3454D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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