#AC30AC#AC30AC

#AC30AC is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.210 H 328.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AC30AC
RGBrgb(172, 48, 172)
HSLhsl(300, 56%, 43%)
HSVhsv(300, 72%, 67%)
CMYKcmyk(0%, 72.1%, 0%, 32.5%)
CIE-LABlab(44.04, 63.76, -40.15)
CIE-LCHlch(44.04, 75.35, 327.80°)
OKLaboklab(54.52% 0.1779 -0.1112)
OKLCHoklch(54.52% 0.21 328)
XYZxyz(25.5163, 13.8650, 40.3540)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30AC #30AC30
analogous
#6E30AC #AC30AC #AC306E
triadic
#AC30AC #ACAC30 #30ACAC
tetradic
#AC30AC #AC6E30 #30AC30 #306EAC
square
#AC30AC #AC6E30 #30AC30 #306EAC
split-complementary
#AC30AC #6EAC30 #30AC6E
monochromatic
#4C154C #7C237C #AC30AC #CD4CCD #DA7CDA

Accessibility & contrast

On white

5.57
#AC30AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AC30AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC30AC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30AC#FFFFFF#000000##FFFFFF
##AC30AC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185EAF
Deuteranopia (green-blind)
#516EA9
Tritanopia (blue-blind)
#B1436B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac30ac;
/* rgb */ color: rgb(172, 48, 172);
/* oklch */ color: oklch(54.5% 0.210 328.0);
Tailwind
colors: {
  custom: {
    50: '#c875c5',
    500: '#ac30ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac30ac;
$custom-light: #c875c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30ac",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54517,
    "c": 0.20978,
    "h": 328
  },
  "luminance": 0.13863
}

Semantic roles & 50–950 ramp

primary
#AC30AC
secondary
#75C375
accent
#E04848
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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