#AC26C7#AC26C7

#AC26C7 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.5% C 0.240 H 320.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AC26C7
RGBrgb(172, 38, 199)
HSLhsl(290, 68%, 46%)
HSVhsv(290, 81%, 78%)
CMYKcmyk(13.6%, 80.9%, 0%, 22%)
CIE-LABlab(44.63, 71.39, -55.03)
CIE-LCHlch(44.63, 90.14, 322.37°)
OKLaboklab(55.46% 0.1841 -0.1546)
OKLCHoklch(55.46% 0.24 320)
XYZxyz(28.0139, 14.2819, 55.3029)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26C7 #41C726
analogous
#5C26C7 #AC26C7 #C72692
triadic
#AC26C7 #C7AC26 #26C7AC
tetradic
#AC26C7 #C75C26 #41C726 #2692C7
square
#AC26C7 #C75C26 #41C726 #2692C7
split-complementary
#AC26C7 #92C726 #26C75C
monochromatic
#531260 #801C94 #AC26C7 #C54DDD #D681E7

Accessibility & contrast

On white

5.45
#AC26C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AC26C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26C7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26C7#FFFFFF#000000##FFFFFF
##AC26C71.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#376EC4
Tritanopia (blue-blind)
#AC4B78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ac26c7;
/* rgb */ color: rgb(172, 38, 199);
/* oklch */ color: oklch(55.5% 0.240 320.0);
Tailwind
colors: {
  custom: {
    50: '#c972d9',
    500: '#ac26c7',
    950: '#000000',
  },
}
SCSS
$custom: #ac26c7;
$custom-light: #c972d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26c7",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 289.938,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55464,
    "c": 0.2404,
    "h": 320
  },
  "luminance": 0.1428
}

Semantic roles & 50–950 ramp

primary
#AC26C7
secondary
#88CF79
accent
#EB3D5A
background
#FCF7FD
surface
#F9EDFA
border
#D2C8D3
text
#140915
muted
#827B83

Preview Lab

Preview with #AC26C7

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

Preview Lab → · Contrast checker → · Palette generator →

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