#AC2CD2#AC2CD2

#AC2CD2 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.6% C 0.244 H 316.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AC2CD2
RGBrgb(172, 44, 210)
HSLhsl(286, 65%, 50%)
HSVhsv(286, 79%, 82%)
CMYKcmyk(18.1%, 79%, 0%, 17.6%)
CIE-LABlab(45.94, 71.71, -59.28)
CIE-LCHlch(45.94, 93.04, 320.42°)
OKLaboklab(56.62% 0.178 -0.1671)
OKLCHoklch(56.62% 0.244 316.8)
XYZxyz(29.5450, 15.2264, 62.3430)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CD2 #52D22C
analogous
#592CD2 #AC2CD2 #D22CA5
triadic
#AC2CD2 #D2AC2C #2CD2AC
tetradic
#AC2CD2 #D2592C #52D22C #2CA5D2
square
#AC2CD2 #D2592C #52D22C #2CA5D2
split-complementary
#AC2CD2 #A5D22C #2CD259
monochromatic
#59176D #83219F #AC2CD2 #C05EDD #D491E8

Accessibility & contrast

On white

5.19
#AC2CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AC2CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CD2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CD2#FFFFFF#000000##FFFFFF
##AC2CD21.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#2D70CF
Tritanopia (blue-blind)
#AA5380
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac2cd2;
/* rgb */ color: rgb(172, 44, 210);
/* oklch */ color: oklch(56.6% 0.244 316.8);
Tailwind
colors: {
  custom: {
    50: '#ca75e1',
    500: '#ac2cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ac2cd2;
$custom-light: #ca75e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2cd2",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 210
  },
  "hsl": {
    "h": 286.265,
    "s": 65.354,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56616,
    "c": 0.24417,
    "h": 316.8
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

primary
#AC2CD2
secondary
#99D287
accent
#E83F66
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AC2CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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