#AC30B1#AC30B1

#AC30B1 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.214 H 326.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AC30B1
RGBrgb(172, 48, 177)
HSLhsl(298, 57%, 44%)
HSVhsv(298, 73%, 69%)
CMYKcmyk(2.8%, 72.9%, 0%, 30.6%)
CIE-LABlab(44.32, 64.60, -42.66)
CIE-LCHlch(44.32, 77.41, 326.56°)
OKLaboklab(54.81% 0.1778 -0.1185)
OKLCHoklch(54.81% 0.214 326.3)
XYZxyz(26.0055, 14.0607, 42.9307)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC30B1 #35B130
analogous
#6B30B1 #AC30B1 #B13076
triadic
#AC30B1 #B1AC30 #30B1AC
tetradic
#AC30B1 #B16B30 #35B130 #3076B1
square
#AC30B1 #B16B30 #35B130 #3076B1
split-complementary
#AC30B1 #76B130 #30B16B
monochromatic
#4E1651 #7D2381 #AC30B1 #CA4FCF #D97FDC

Accessibility & contrast

On white

5.51
#AC30B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AC30B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC30B1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC30B1#FFFFFF#000000##FFFFFF
##AC30B11.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5FB5
Deuteranopia (green-blind)
#4E6EAE
Tritanopia (blue-blind)
#B1456E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac30b1;
/* rgb */ color: rgb(172, 48, 177);
/* oklch */ color: oklch(54.8% 0.214 326.3);
Tailwind
colors: {
  custom: {
    50: '#c875c9',
    500: '#ac30b1',
    950: '#000000',
  },
}
SCSS
$custom: #ac30b1;
$custom-light: #c875c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac30b1",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 297.674,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.2137,
    "h": 326.3
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

primary
#AC30B1
secondary
#7BC578
accent
#E1474D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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