#AC2EB7#AC2EB7

#AC2EB7 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.221 H 324.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AC2EB7
RGBrgb(172, 46, 183)
HSLhsl(295, 60%, 45%)
HSVhsv(295, 75%, 72%)
CMYKcmyk(6%, 74.9%, 0%, 28.2%)
CIE-LABlab(44.44, 66.27, -46.00)
CIE-LCHlch(44.44, 80.67, 325.24°)
OKLaboklab(55.01% 0.1794 -0.1282)
OKLCHoklch(55.01% 0.221 324.4)
XYZxyz(26.5368, 14.1452, 46.1231)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2EB7 #39B72E
analogous
#672EB7 #AC2EB7 #B72E7E
triadic
#AC2EB7 #B7AC2E #2EB7AC
tetradic
#AC2EB7 #B7672E #39B72E #2E7EB7
square
#AC2EB7 #B7672E #39B72E #2E7EB7
split-complementary
#AC2EB7 #7EB72E #2EB767
monochromatic
#501555 #7E2286 #AC2EB7 #C84FD3 #D880DF

Accessibility & contrast

On white

5.48
#AC2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AC2EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2EB7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2EB7#FFFFFF#000000##FFFFFF
##AC2EB71.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#496EB4
Tritanopia (blue-blind)
#AF4771
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac2eb7;
/* rgb */ color: rgb(172, 46, 183);
/* oklch */ color: oklch(55.0% 0.221 324.4);
Tailwind
colors: {
  custom: {
    50: '#c974cd',
    500: '#ac2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #ac2eb7;
$custom-light: #c974cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2eb7",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 295.182,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55008,
    "c": 0.22053,
    "h": 324.4
  },
  "luminance": 0.14144
}

Semantic roles & 50–950 ramp

primary
#AC2EB7
secondary
#7FC879
accent
#E34552
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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