#AC30AF#AC30AF

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

Color values

HEX#AC30AF
RGBrgb(172, 48, 175)
HSLhsl(299, 57%, 44%)
HSVhsv(299, 73%, 69%)
CMYKcmyk(1.7%, 72.6%, 0%, 31.4%)
CIE-LABlab(44.21, 64.26, -41.66)
CIE-LCHlch(44.21, 76.58, 327.05°)
OKLaboklab(54.69% 0.1779 -0.1156)
OKLCHoklch(54.69% 0.212 327)
XYZxyz(25.8077, 13.9815, 41.8885)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30AF #33AF30
analogous
#6C30AF #AC30AF #AF3072
triadic
#AC30AF #AFAC30 #30AFAC
tetradic
#AC30AF #AF6C30 #33AF30 #3072AF
square
#AC30AF #AF6C30 #33AF30 #3072AF
split-complementary
#AC30AF #72AF30 #30AF6C
monochromatic
#4E164F #7D237F #AC30AF #CB4ECE #D97EDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC30AF#FFFFFF#000000##FFFFFF
##AC30AF1.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)
#125EB2
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#B1446D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac30af;
/* rgb */ color: rgb(172, 48, 175);
/* oklch */ color: oklch(54.7% 0.212 327.0);
Tailwind
colors: {
  custom: {
    50: '#c875c7',
    500: '#ac30af',
    950: '#000000',
  },
}
SCSS
$custom: #ac30af;
$custom-light: #c875c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30af",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 298.583,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54692,
    "c": 0.21212,
    "h": 327
  },
  "luminance": 0.1398
}

Semantic roles & 50–950 ramp

primary
#AC30AF
secondary
#78C476
accent
#E0484B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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