#AC30C9#AC30C9

#AC30C9 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.233 H 319.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AC30C9
RGBrgb(172, 48, 201)
HSLhsl(289, 61%, 49%)
HSVhsv(289, 76%, 79%)
CMYKcmyk(14.4%, 76.1%, 0%, 21.2%)
CIE-LABlab(45.77, 68.83, -54.35)
CIE-LCHlch(45.77, 87.70, 321.70°)
OKLaboklab(56.31% 0.1762 -0.1527)
OKLCHoklch(56.31% 0.233 319.1)
XYZxyz(28.6114, 15.1030, 56.6551)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30C9 #4DC930
analogous
#5F30C9 #AC30C9 #C9309A
triadic
#AC30C9 #C9AC30 #30C9AC
tetradic
#AC30C9 #C95F30 #4DC930 #309AC9
square
#AC30C9 #C95F30 #4DC930 #309AC9
split-complementary
#AC30C9 #9AC930 #30C95F
monochromatic
#571866 #822498 #AC30C9 #C15ED8 #D48FE4

Accessibility & contrast

On white

5.22
#AC30C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AC30C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC30C9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30C9#FFFFFF#000000##FFFFFF
##AC30C91.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#3B70C6
Tritanopia (blue-blind)
#AC517C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ac30c9;
/* rgb */ color: rgb(172, 48, 201);
/* oklch */ color: oklch(56.3% 0.233 319.1);
Tailwind
colors: {
  custom: {
    50: '#c976da',
    500: '#ac30c9',
    950: '#000000',
  },
}
SCSS
$custom: #ac30c9;
$custom-light: #c976da;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30c9",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 288.627,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.23312,
    "h": 319.1
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#AC30C9
secondary
#94CF86
accent
#E54362
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AC30C9

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

Preview Lab → · Contrast checker → · Palette generator →

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