#AC2EC9#AC2EC9

#AC2EC9 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.2% C 0.235 H 319.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AC2EC9
RGBrgb(172, 46, 201)
HSLhsl(289, 63%, 48%)
HSVhsv(289, 77%, 79%)
CMYKcmyk(14.4%, 77.1%, 0%, 21.2%)
CIE-LABlab(45.56, 69.46, -54.71)
CIE-LCHlch(45.56, 88.41, 321.77°)
OKLaboklab(56.16% 0.1778 -0.1537)
OKLCHoklch(56.16% 0.235 319.2)
XYZxyz(28.5315, 14.9431, 56.6285)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2EC9 #4BC92E
analogous
#5E2EC9 #AC2EC9 #C92E98
triadic
#AC2EC9 #C9AC2E #2EC9AC
tetradic
#AC2EC9 #C95E2E #4BC92E #2E98C9
square
#AC2EC9 #C95E2E #4BC92E #2E98C9
split-complementary
#AC2EC9 #98C92E #2EC95E
monochromatic
#571765 #812397 #AC2EC9 #C25BD9 #D48DE5

Accessibility & contrast

On white

5.27
#AC2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AC2EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2EC9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2EC9#FFFFFF#000000##FFFFFF
##AC2EC91.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#3A70C6
Tritanopia (blue-blind)
#AC507B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ac2ec9;
/* rgb */ color: rgb(172, 46, 201);
/* oklch */ color: oklch(56.2% 0.235 319.2);
Tailwind
colors: {
  custom: {
    50: '#c975da',
    500: '#ac2ec9',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ec9;
$custom-light: #c975da;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ec9",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 288.774,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56155,
    "c": 0.23503,
    "h": 319.2
  },
  "luminance": 0.14942
}

Semantic roles & 50–950 ramp

primary
#AC2EC9
secondary
#92CF84
accent
#E64261
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AC2EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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