#AC26B0#AC26B0

#AC26B0 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.223 H 326.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AC26B0
RGBrgb(172, 38, 176)
HSLhsl(298, 64%, 42%)
HSVhsv(298, 78%, 69%)
CMYKcmyk(2.3%, 78.4%, 0%, 31%)
CIE-LABlab(43.20, 67.48, -43.85)
CIE-LCHlch(43.20, 80.47, 326.99°)
OKLaboklab(53.99% 0.1864 -0.1219)
OKLCHoklch(53.99% 0.223 326.8)
XYZxyz(25.5424, 13.2933, 42.2864)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26B0 #2AB026
analogous
#6726B0 #AC26B0 #B0266F
triadic
#AC26B0 #B0AC26 #26B0AC
tetradic
#AC26B0 #B06726 #2AB026 #266FB0
square
#AC26B0 #B06726 #2AB026 #266FB0
split-complementary
#AC26B0 #6FB026 #26B067
monochromatic
#4A104B #7B1B7E #AC26B0 #D13ED5 #DD70E0

Accessibility & contrast

On white

5.74
#AC26B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AC26B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26B0
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26B0#FFFFFF#000000##FFFFFF
##AC26B01.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#4A6CAD
Tritanopia (blue-blind)
#B13F6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac26b0;
/* rgb */ color: rgb(172, 38, 176);
/* oklch */ color: oklch(54.0% 0.223 326.8);
Tailwind
colors: {
  custom: {
    50: '#c971c8',
    500: '#ac26b0',
    950: '#000000',
  },
}
SCSS
$custom: #ac26b0;
$custom-light: #c971c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26b0",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 298.261,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53994,
    "c": 0.22271,
    "h": 326.8
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#AC26B0
secondary
#6DC76B
accent
#E74045
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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