#AC26AB#AC26AB

#AC26AB is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.219 H 328.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AC26AB
RGBrgb(172, 38, 171)
HSLhsl(300, 64%, 41%)
HSVhsv(300, 78%, 67%)
CMYKcmyk(0%, 77.9%, 0.6%, 32.5%)
CIE-LABlab(42.91, 66.67, -41.34)
CIE-LCHlch(42.91, 78.45, 328.20°)
OKLaboklab(53.7% 0.1866 -0.1146)
OKLCHoklch(53.7% 0.219 328.4)
XYZxyz(25.0568, 13.0991, 39.7288)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26AB #26AC27
analogous
#6A26AC #AC26AB #AC2668
triadic
#AC26AB #ABAC26 #26ABAC
tetradic
#AC26AB #AC6A26 #26AC27 #2668AC
square
#AC26AB #AC6A26 #26AC27 #2668AC
split-complementary
#AC26AB #68AC26 #26AC6A
monochromatic
#481047 #7A1B79 #AC26AB #D43BD3 #DF6EDE

Accessibility & contrast

On white

5.80
#AC26AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AC26AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26AB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26AB#FFFFFF#000000##FFFFFF
##AC26AB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#4E6BA8
Tritanopia (blue-blind)
#B23C68
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac26ab;
/* rgb */ color: rgb(172, 38, 171);
/* oklch */ color: oklch(53.7% 0.219 328.4);
Tailwind
colors: {
  custom: {
    50: '#c971c4',
    500: '#ac26ab',
    950: '#000000',
  },
}
SCSS
$custom: #ac26ab;
$custom-light: #c971c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26ab",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 300.448,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.21898,
    "h": 328.4
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#AC26AB
secondary
#68C569
accent
#E74241
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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