#AC26AA#AC26AA

#AC26AA is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.218 H 328.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AC26AA
RGBrgb(172, 38, 170)
HSLhsl(301, 64%, 41%)
HSVhsv(301, 78%, 67%)
CMYKcmyk(0%, 77.9%, 1.2%, 32.5%)
CIE-LABlab(42.86, 66.51, -40.84)
CIE-LCHlch(42.86, 78.05, 328.45°)
OKLaboklab(53.64% 0.1866 -0.1131)
OKLCHoklch(53.64% 0.218 328.8)
XYZxyz(24.9618, 13.0611, 39.2287)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26AA #26AC28
analogous
#6B26AC #AC26AA #AC2667
triadic
#AC26AA #AAAC26 #26AAAC
tetradic
#AC26AA #AC6B26 #26AC28 #2667AC
square
#AC26AA #AC6B26 #26AC28 #2667AC
split-complementary
#AC26AA #67AC26 #26AC6B
monochromatic
#481047 #7A1B78 #AC26AA #D43BD2 #DF6EDD

Accessibility & contrast

On white

5.81
#AC26AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AC26AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26AA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26AA#FFFFFF#000000##FFFFFF
##AC26AA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035AAD
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#B23C68
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac26aa;
/* rgb */ color: rgb(172, 38, 170);
/* oklch */ color: oklch(53.6% 0.218 328.8);
Tailwind
colors: {
  custom: {
    50: '#c971c4',
    500: '#ac26aa',
    950: '#000000',
  },
}
SCSS
$custom: #ac26aa;
$custom-light: #c971c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26aa",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 300.896,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53636,
    "c": 0.21824,
    "h": 328.8
  },
  "luminance": 0.13059
}

Semantic roles & 50–950 ramp

primary
#AC26AA
secondary
#68C56A
accent
#E74341
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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