#AC2EC2#AC2EC2

#AC2EC2 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.7% C 0.229 H 321.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AC2EC2
RGBrgb(172, 46, 194)
HSLhsl(291, 62%, 47%)
HSVhsv(291, 76%, 76%)
CMYKcmyk(11.3%, 76.3%, 0%, 23.9%)
CIE-LABlab(45.11, 68.20, -51.36)
CIE-LCHlch(45.11, 85.37, 323.02°)
OKLaboklab(55.7% 0.1786 -0.1439)
OKLCHoklch(55.7% 0.229 321.1)
XYZxyz(27.7267, 14.6212, 52.3902)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2EC2 #44C22E
analogous
#622EC2 #AC2EC2 #C22E8E
triadic
#AC2EC2 #C2AC2E #2EC2AC
tetradic
#AC2EC2 #C2622E #44C22E #2E8EC2
square
#AC2EC2 #C2622E #44C22E #2E8EC2
split-complementary
#AC2EC2 #8EC22E #2EC262
monochromatic
#54175F #802291 #AC2EC2 #C456D7 #D588E3

Accessibility & contrast

On white

5.35
#AC2EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AC2EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2EC2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2EC2#FFFFFF#000000##FFFFFF
##AC2EC21.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#416FBF
Tritanopia (blue-blind)
#AD4C77
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac2ec2;
/* rgb */ color: rgb(172, 46, 194);
/* oklch */ color: oklch(55.7% 0.229 321.1);
Tailwind
colors: {
  custom: {
    50: '#c975d5',
    500: '#ac2ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ec2;
$custom-light: #c975d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ec2",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 291.081,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55698,
    "c": 0.22934,
    "h": 321.1
  },
  "luminance": 0.1462
}

Semantic roles & 50–950 ramp

primary
#AC2EC2
secondary
#8BCC7F
accent
#E5435B
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140914
muted
#827B83

Preview Lab

Preview with #AC2EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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