#AC2EB3#AC2EB3

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

Color values

HEX#AC2EB3
RGBrgb(172, 46, 179)
HSLhsl(297, 59%, 44%)
HSVhsv(297, 74%, 70%)
CMYKcmyk(3.9%, 74.3%, 0%, 29.8%)
CIE-LABlab(44.21, 65.59, -44.02)
CIE-LCHlch(44.21, 78.99, 326.14°)
OKLaboklab(54.77% 0.1796 -0.1224)
OKLCHoklch(54.77% 0.217 325.7)
XYZxyz(26.1264, 13.9811, 43.9616)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2EB3 #35B32E
analogous
#6A2EB3 #AC2EB3 #B32E78
triadic
#AC2EB3 #B3AC2E #2EB3AC
tetradic
#AC2EB3 #B36A2E #35B32E #2E78B3
square
#AC2EB3 #B36A2E #35B32E #2E78B3
split-complementary
#AC2EB3 #78B32E #2EB36A
monochromatic
#4E1552 #7D2182 #AC2EB3 #CA4DD1 #D97EDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2EB3#FFFFFF#000000##FFFFFF
##AC2EB31.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)
#005FB7
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#B0456F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2eb3;
/* rgb */ color: rgb(172, 46, 179);
/* oklch */ color: oklch(54.8% 0.217 325.7);
Tailwind
colors: {
  custom: {
    50: '#c974ca',
    500: '#ac2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #ac2eb3;
$custom-light: #c974ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2eb3",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 296.842,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54765,
    "c": 0.21737,
    "h": 325.7
  },
  "luminance": 0.13979
}

Semantic roles & 50–950 ramp

primary
#AC2EB3
secondary
#7BC676
accent
#E2464E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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