#AC30C1#AC30C1

#AC30C1 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.8% C 0.227 H 321.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AC30C1
RGBrgb(172, 48, 193)
HSLhsl(291, 60%, 47%)
HSVhsv(291, 75%, 76%)
CMYKcmyk(10.9%, 75.1%, 0%, 24.3%)
CIE-LABlab(45.27, 67.38, -50.52)
CIE-LCHlch(45.27, 84.22, 323.14°)
OKLaboklab(55.79% 0.177 -0.1414)
OKLCHoklch(55.79% 0.227 321.4)
XYZxyz(27.6948, 14.7363, 51.8274)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30C1 #45C130
analogous
#6330C1 #AC30C1 #C1308E
triadic
#AC30C1 #C1AC30 #30C1AC
tetradic
#AC30C1 #C16330 #45C130 #308EC1
square
#AC30C1 #C16330 #45C130 #308EC1
split-complementary
#AC30C1 #8EC130 #30C163
monochromatic
#55185F #802490 #AC30C1 #C459D6 #D58AE2

Accessibility & contrast

On white

5.32
#AC30C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AC30C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC30C1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30C1#FFFFFF#000000##FFFFFF
##AC30C11.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#4370BE
Tritanopia (blue-blind)
#AD4D77
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac30c1;
/* rgb */ color: rgb(172, 48, 193);
/* oklch */ color: oklch(55.8% 0.227 321.4);
Tailwind
colors: {
  custom: {
    50: '#c976d4',
    500: '#ac30c1',
    950: '#000000',
  },
}
SCSS
$custom: #ac30c1;
$custom-light: #c976d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30c1",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 291.31,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55792,
    "c": 0.22655,
    "h": 321.4
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#AC30C1
secondary
#8CCC81
accent
#E3445B
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140914
muted
#827B83

Preview Lab

Preview with #AC30C1

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

Preview Lab → · Contrast checker → · Palette generator →

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