#AC26A1#AC26A1

#AC26A1 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.212 H 331.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AC26A1
RGBrgb(172, 38, 161)
HSLhsl(305, 64%, 41%)
HSVhsv(305, 78%, 67%)
CMYKcmyk(0%, 77.9%, 6.4%, 32.5%)
CIE-LABlab(42.36, 65.10, -36.25)
CIE-LCHlch(42.36, 74.52, 330.89°)
OKLaboklab(53.12% 0.1866 -0.0998)
OKLCHoklch(53.12% 0.212 331.9)
XYZxyz(24.1394, 12.7321, 34.8975)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26A1 #26AC31
analogous
#7426AC #AC26A1 #AC265E
triadic
#AC26A1 #A1AC26 #26A1AC
tetradic
#AC26A1 #AC7426 #26AC31 #265EAC
square
#AC26A1 #AC7426 #26AC31 #265EAC
split-complementary
#AC26A1 #5EAC26 #26AC74
monochromatic
#481043 #7A1B72 #AC26A1 #D43BC7 #DF6ED6

Accessibility & contrast

On white

5.92
#AC26A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC26A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26A1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26A1#FFFFFF#000000##FFFFFF
##AC26A11.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A58A4
Deuteranopia (green-blind)
#536A9E
Tritanopia (blue-blind)
#B33763
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac26a1;
/* rgb */ color: rgb(172, 38, 161);
/* oklch */ color: oklch(53.1% 0.212 331.9);
Tailwind
colors: {
  custom: {
    50: '#c970bd',
    500: '#ac26a1',
    950: '#000000',
  },
}
SCSS
$custom: #ac26a1;
$custom-light: #c970bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26a1",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 304.925,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5312,
    "c": 0.21167,
    "h": 331.9
  },
  "luminance": 0.1273
}

Semantic roles & 50–950 ramp

primary
#AC26A1
secondary
#68C570
accent
#E74F41
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC26A1

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

Preview Lab → · Contrast checker → · Palette generator →

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