#AC26A7#AC26A7

#AC26A7 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.216 H 329.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AC26A7
RGBrgb(172, 38, 167)
HSLhsl(302, 64%, 41%)
HSVhsv(302, 78%, 67%)
CMYKcmyk(0%, 77.9%, 2.9%, 32.5%)
CIE-LABlab(42.69, 66.03, -39.32)
CIE-LCHlch(42.69, 76.85, 329.23°)
OKLaboklab(53.46% 0.1867 -0.1087)
OKLCHoklch(53.46% 0.216 329.8)
XYZxyz(24.6813, 12.9489, 37.7512)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26A7 #26AC2B
analogous
#6E26AC #AC26A7 #AC2664
triadic
#AC26A7 #A7AC26 #26A7AC
tetradic
#AC26A7 #AC6E26 #26AC2B #2664AC
square
#AC26A7 #AC6E26 #26AC2B #2664AC
split-complementary
#AC26A7 #64AC26 #26AC6E
monochromatic
#481046 #7A1B76 #AC26A7 #D43BCE #DF6EDB

Accessibility & contrast

On white

5.85
#AC26A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AC26A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26A7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26A7#FFFFFF#000000##FFFFFF
##AC26A71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D59AA
Deuteranopia (green-blind)
#506BA4
Tritanopia (blue-blind)
#B23A66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac26a7;
/* rgb */ color: rgb(172, 38, 167);
/* oklch */ color: oklch(53.5% 0.216 329.8);
Tailwind
colors: {
  custom: {
    50: '#c971c1',
    500: '#ac26a7',
    950: '#000000',
  },
}
SCSS
$custom: #ac26a7;
$custom-light: #c971c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26a7",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 302.239,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53461,
    "c": 0.21603,
    "h": 329.8
  },
  "luminance": 0.12947
}

Semantic roles & 50–950 ramp

primary
#AC26A7
secondary
#68C56C
accent
#E74741
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC26A7

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

Preview Lab → · Contrast checker → · Palette generator →

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