#AC30A7#AC30A7

#AC30A7 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.206 H 329.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AC30A7
RGBrgb(172, 48, 167)
HSLhsl(302, 56%, 43%)
HSVhsv(302, 72%, 67%)
CMYKcmyk(0%, 72.1%, 2.9%, 32.5%)
CIE-LABlab(43.77, 62.94, -37.61)
CIE-LCHlch(43.77, 73.32, 329.14°)
OKLaboklab(54.23% 0.1778 -0.1038)
OKLCHoklch(54.23% 0.206 329.7)
XYZxyz(25.0451, 13.6765, 37.8724)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30A7 #30AC35
analogous
#7330AC #AC30A7 #AC3069
triadic
#AC30A7 #A7AC30 #30A7AC
tetradic
#AC30A7 #AC7330 #30AC35 #3069AC
square
#AC30A7 #AC7330 #30AC35 #3069AC
split-complementary
#AC30A7 #69AC30 #30AC73
monochromatic
#4C154A #7C2379 #AC30A7 #CD4CC8 #DA7CD7

Accessibility & contrast

On white

5.62
#AC30A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AC30A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC30A7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30A7#FFFFFF#000000##FFFFFF
##AC30A71.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205DAA
Deuteranopia (green-blind)
#546DA4
Tritanopia (blue-blind)
#B24168
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac30a7;
/* rgb */ color: rgb(172, 48, 167);
/* oklch */ color: oklch(54.2% 0.206 329.7);
Tailwind
colors: {
  custom: {
    50: '#c875c1',
    500: '#ac30a7',
    950: '#000000',
  },
}
SCSS
$custom: #ac30a7;
$custom-light: #c875c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30a7",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 302.419,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54233,
    "c": 0.20592,
    "h": 329.7
  },
  "luminance": 0.13675
}

Semantic roles & 50–950 ramp

primary
#AC30A7
secondary
#75C378
accent
#E04E48
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC30A7

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

Preview Lab → · Contrast checker → · Palette generator →

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