#AC26BD#AC26BD

#AC26BD is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.8% C 0.233 H 322.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AC26BD
RGBrgb(172, 38, 189)
HSLhsl(293, 67%, 45%)
HSVhsv(293, 80%, 74%)
CMYKcmyk(9%, 79.9%, 0%, 25.9%)
CIE-LABlab(43.99, 69.65, -50.23)
CIE-LCHlch(43.99, 85.88, 324.20°)
OKLaboklab(54.81% 0.1854 -0.1405)
OKLCHoklch(54.81% 0.233 322.8)
XYZxyz(26.8908, 13.8326, 49.3878)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26BD #37BD26
analogous
#6126BD #AC26BD #BD2683
triadic
#AC26BD #BDAC26 #26BDAC
tetradic
#AC26BD #BD6126 #37BD26 #2683BD
square
#AC26BD #BD6126 #37BD26 #2683BD
split-complementary
#AC26BD #83BD26 #26BD61
monochromatic
#4F1257 #7E1C8A #AC26BD #C946DA #D879E4

Accessibility & contrast

On white

5.58
#AC26BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AC26BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26BD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26BD#FFFFFF#000000##FFFFFF
##AC26BD1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#416DBA
Tritanopia (blue-blind)
#AE4673
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac26bd;
/* rgb */ color: rgb(172, 38, 189);
/* oklch */ color: oklch(54.8% 0.233 322.8);
Tailwind
colors: {
  custom: {
    50: '#c972d1',
    500: '#ac26bd',
    950: '#000000',
  },
}
SCSS
$custom: #ac26bd;
$custom-light: #c972d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26bd",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 293.245,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.23262,
    "h": 322.8
  },
  "luminance": 0.13831
}

Semantic roles & 50–950 ramp

primary
#AC26BD
secondary
#7DCC73
accent
#E93E52
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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