#AC30B6#AC30B6

#AC30B6 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.218 H 324.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AC30B6
RGBrgb(172, 48, 182)
HSLhsl(296, 58%, 45%)
HSVhsv(296, 74%, 71%)
CMYKcmyk(5.5%, 73.6%, 0%, 28.6%)
CIE-LABlab(44.61, 65.45, -45.14)
CIE-LCHlch(44.61, 79.51, 325.41°)
OKLaboklab(55.11% 0.1777 -0.1257)
OKLCHoklch(55.11% 0.218 324.7)
XYZxyz(26.5130, 14.2637, 45.6036)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30B6 #3AB630
analogous
#6930B6 #AC30B6 #B6307D
triadic
#AC30B6 #B6AC30 #30B6AC
tetradic
#AC30B6 #B66930 #3AB630 #307DB6
square
#AC30B6 #B66930 #3AB630 #307DB6
split-complementary
#AC30B6 #7DB630 #30B669
monochromatic
#501655 #7E2386 #AC30B6 #C852D1 #D782DE

Accessibility & contrast

On white

5.45
#AC30B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AC30B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC30B6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30B6#FFFFFF#000000##FFFFFF
##AC30B61.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#4B6FB3
Tritanopia (blue-blind)
#B04871
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac30b6;
/* rgb */ color: rgb(172, 48, 182);
/* oklch */ color: oklch(55.1% 0.218 324.7);
Tailwind
colors: {
  custom: {
    50: '#c975cc',
    500: '#ac30b6',
    950: '#000000',
  },
}
SCSS
$custom: #ac30b6;
$custom-light: #c975cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30b6",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 295.522,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55108,
    "c": 0.21767,
    "h": 324.7
  },
  "luminance": 0.14262
}

Semantic roles & 50–950 ramp

primary
#AC30B6
secondary
#80C77B
accent
#E14652
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AC30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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