#AC26AC#AC26AC

#AC26AC is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.220 H 328.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AC26AC
RGBrgb(172, 38, 172)
HSLhsl(300, 64%, 41%)
HSVhsv(300, 78%, 67%)
CMYKcmyk(0%, 77.9%, 0%, 32.5%)
CIE-LABlab(42.97, 66.83, -41.85)
CIE-LCHlch(42.97, 78.85, 327.95°)
OKLaboklab(53.75% 0.1866 -0.1161)
OKLCHoklch(53.75% 0.22 328.1)
XYZxyz(25.1525, 13.1373, 40.2327)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26AC #26AC26
analogous
#6926AC #AC26AC #AC2669
triadic
#AC26AC #ACAC26 #26ACAC
tetradic
#AC26AC #AC6926 #26AC26 #2669AC
square
#AC26AC #AC6926 #26AC26 #2669AC
split-complementary
#AC26AC #69AC26 #26AC69
monochromatic
#481048 #7A1B7A #AC26AC #D43BD4 #DF6EDF

Accessibility & contrast

On white

5.79
#AC26AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AC26AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26AC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26AC#FFFFFF#000000##FFFFFF
##AC26AC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#4D6BA9
Tritanopia (blue-blind)
#B23D69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac26ac;
/* rgb */ color: rgb(172, 38, 172);
/* oklch */ color: oklch(53.8% 0.220 328.1);
Tailwind
colors: {
  custom: {
    50: '#c971c5',
    500: '#ac26ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac26ac;
$custom-light: #c971c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26ac",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.21972,
    "h": 328.1
  },
  "luminance": 0.13135
}

Semantic roles & 50–950 ramp

primary
#AC26AC
secondary
#68C568
accent
#E74141
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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