#AC30B4#AC30B4

#AC30B4 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.216 H 325.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AC30B4
RGBrgb(172, 48, 180)
HSLhsl(296, 58%, 45%)
HSVhsv(296, 73%, 71%)
CMYKcmyk(4.4%, 73.3%, 0%, 29.4%)
CIE-LABlab(44.49, 65.11, -44.15)
CIE-LCHlch(44.49, 78.67, 325.86°)
OKLaboklab(54.99% 0.1778 -0.1228)
OKLCHoklch(54.99% 0.216 325.4)
XYZxyz(26.3078, 14.1816, 44.5228)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30B4 #38B430
analogous
#6A30B4 #AC30B4 #B4307A
triadic
#AC30B4 #B4AC30 #30B4AC
tetradic
#AC30B4 #B46A30 #38B430 #307AB4
square
#AC30B4 #B46A30 #38B430 #307AB4
split-complementary
#AC30B4 #7AB430 #30B46A
monochromatic
#501653 #7E2384 #AC30B4 #C951D1 #D881DD

Accessibility & contrast

On white

5.47
#AC30B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AC30B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC30B4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30B4#FFFFFF#000000##FFFFFF
##AC30B41.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0160B8
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#B04770
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac30b4;
/* rgb */ color: rgb(172, 48, 180);
/* oklch */ color: oklch(55.0% 0.216 325.4);
Tailwind
colors: {
  custom: {
    50: '#c975cb',
    500: '#ac30b4',
    950: '#000000',
  },
}
SCSS
$custom: #ac30b4;
$custom-light: #c975cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30b4",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 296.364,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.21607,
    "h": 325.4
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#AC30B4
secondary
#7EC679
accent
#E14750
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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