#AC30AB#AC30AB

#AC30AB is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.209 H 328.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AC30AB
RGBrgb(172, 48, 171)
HSLhsl(300, 56%, 43%)
HSVhsv(300, 72%, 67%)
CMYKcmyk(0%, 72.1%, 0.6%, 32.5%)
CIE-LABlab(43.98, 63.60, -39.64)
CIE-LCHlch(43.98, 74.94, 328.06°)
OKLaboklab(54.46% 0.1779 -0.1097)
OKLCHoklch(54.46% 0.209 328.3)
XYZxyz(25.4206, 13.8267, 39.8501)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30AB #30AC31
analogous
#6F30AC #AC30AB #AC306D
triadic
#AC30AB #ABAC30 #30ABAC
tetradic
#AC30AB #AC6F30 #30AC31 #306DAC
square
#AC30AB #AC6F30 #30AC31 #306DAC
split-complementary
#AC30AB #6DAC30 #30AC6F
monochromatic
#4C154C #7C237B #AC30AB #CD4CCC #DA7CDA

Accessibility & contrast

On white

5.58
#AC30AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC30AB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30AB#FFFFFF#000000##FFFFFF
##AC30AB1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5EAE
Deuteranopia (green-blind)
#526EA8
Tritanopia (blue-blind)
#B2426B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac30ab;
/* rgb */ color: rgb(172, 48, 171);
/* oklch */ color: oklch(54.5% 0.209 328.3);
Tailwind
colors: {
  custom: {
    50: '#c875c4',
    500: '#ac30ab',
    950: '#000000',
  },
}
SCSS
$custom: #ac30ab;
$custom-light: #c875c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30ab",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 300.484,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5446,
    "c": 0.209,
    "h": 328.3
  },
  "luminance": 0.13825
}

Semantic roles & 50–950 ramp

primary
#AC30AB
secondary
#75C375
accent
#E04948
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC30AB

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

Preview Lab → · Contrast checker → · Palette generator →

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