#AC26A5#AC26A5

#AC26A5 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.215 H 330.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AC26A5
RGBrgb(172, 38, 165)
HSLhsl(303, 64%, 41%)
HSVhsv(303, 78%, 67%)
CMYKcmyk(0%, 77.9%, 4.1%, 32.5%)
CIE-LABlab(42.58, 65.72, -38.30)
CIE-LCHlch(42.58, 76.07, 329.77°)
OKLaboklab(53.35% 0.1867 -0.1058)
OKLCHoklch(53.35% 0.215 330.5)
XYZxyz(24.4978, 12.8755, 36.7850)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26A5 #26AC2D
analogous
#7026AC #AC26A5 #AC2662
triadic
#AC26A5 #A5AC26 #26A5AC
tetradic
#AC26A5 #AC7026 #26AC2D #2662AC
square
#AC26A5 #AC7026 #26AC2D #2662AC
split-complementary
#AC26A5 #62AC26 #26AC70
monochromatic
#481045 #7A1B75 #AC26A5 #D43BCC #DF6ED9

Accessibility & contrast

On white

5.87
#AC26A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC26A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26A5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26A5#FFFFFF#000000##FFFFFF
##AC26A51.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A8
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#B33965
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac26a5;
/* rgb */ color: rgb(172, 38, 165);
/* oklch */ color: oklch(53.3% 0.215 330.5);
Tailwind
colors: {
  custom: {
    50: '#c971c0',
    500: '#ac26a5',
    950: '#000000',
  },
}
SCSS
$custom: #ac26a5;
$custom-light: #c971c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26a5",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 303.134,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.21457,
    "h": 330.5
  },
  "luminance": 0.12873
}

Semantic roles & 50–950 ramp

primary
#AC26A5
secondary
#68C56D
accent
#E74A41
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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