#AC30A5#AC30A5

#AC30A5 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.204 H 330.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AC30A5
RGBrgb(172, 48, 165)
HSLhsl(303, 56%, 43%)
HSVhsv(303, 72%, 67%)
CMYKcmyk(0%, 72.1%, 4.1%, 32.5%)
CIE-LABlab(43.66, 62.62, -36.59)
CIE-LCHlch(43.66, 72.52, 329.70°)
OKLaboklab(54.12% 0.1778 -0.1009)
OKLCHoklch(54.12% 0.204 330.4)
XYZxyz(24.8616, 13.6031, 36.9062)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30A5 #30AC37
analogous
#7530AC #AC30A5 #AC3067
triadic
#AC30A5 #A5AC30 #30A5AC
tetradic
#AC30A5 #AC7530 #30AC37 #3067AC
square
#AC30A5 #AC7530 #30AC37 #3067AC
split-complementary
#AC30A5 #67AC30 #30AC75
monochromatic
#4C1549 #7C2377 #AC30A5 #CD4CC6 #DA7CD5

Accessibility & contrast

On white

5.64
#AC30A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AC30A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC30A5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30A5#FFFFFF#000000##FFFFFF
##AC30A51.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA8
Deuteranopia (green-blind)
#556DA2
Tritanopia (blue-blind)
#B34067
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac30a5;
/* rgb */ color: rgb(172, 48, 165);
/* oklch */ color: oklch(54.1% 0.204 330.4);
Tailwind
colors: {
  custom: {
    50: '#c875c0',
    500: '#ac30a5',
    950: '#000000',
  },
}
SCSS
$custom: #ac30a5;
$custom-light: #c875c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30a5",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 303.387,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54122,
    "c": 0.20439,
    "h": 330.4
  },
  "luminance": 0.13601
}

Semantic roles & 50–950 ramp

primary
#AC30A5
secondary
#75C379
accent
#E05148
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC30A5

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

Preview Lab → · Contrast checker → · Palette generator →

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