#AC26A8#AC26A8

#AC26A8 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.217 H 329.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AC26A8
RGBrgb(172, 38, 168)
HSLhsl(302, 64%, 41%)
HSVhsv(302, 78%, 67%)
CMYKcmyk(0%, 77.9%, 2.3%, 32.5%)
CIE-LABlab(42.74, 66.19, -39.83)
CIE-LCHlch(42.74, 77.25, 328.96°)
OKLaboklab(53.52% 0.1867 -0.1102)
OKLCHoklch(53.52% 0.217 329.4)
XYZxyz(24.7741, 12.9860, 38.2399)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26A8 #26AC2A
analogous
#6D26AC #AC26A8 #AC2665
triadic
#AC26A8 #A8AC26 #26A8AC
tetradic
#AC26A8 #AC6D26 #26AC2A #2665AC
square
#AC26A8 #AC6D26 #26AC2A #2665AC
split-complementary
#AC26A8 #65AC26 #26AC6D
monochromatic
#481046 #7A1B77 #AC26A8 #D43BCF #DF6EDB

Accessibility & contrast

On white

5.84
#AC26A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AC26A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26A8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26A8#FFFFFF#000000##FFFFFF
##AC26A81.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5AAB
Deuteranopia (green-blind)
#4F6BA5
Tritanopia (blue-blind)
#B23B67
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac26a8;
/* rgb */ color: rgb(172, 38, 168);
/* oklch */ color: oklch(53.5% 0.217 329.4);
Tailwind
colors: {
  custom: {
    50: '#c971c2',
    500: '#ac26a8',
    950: '#000000',
  },
}
SCSS
$custom: #ac26a8;
$custom-light: #c971c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26a8",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 301.791,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.21677,
    "h": 329.4
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#AC26A8
secondary
#68C56B
accent
#E74641
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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