#AC259E#AC259E

#AC259E is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.210 H 332.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AC259E
RGBrgb(172, 37, 158)
HSLhsl(306, 65%, 41%)
HSVhsv(306, 78%, 67%)
CMYKcmyk(0%, 78.5%, 8.1%, 32.5%)
CIE-LABlab(42.10, 64.92, -34.86)
CIE-LCHlch(42.10, 73.69, 331.77°)
OKLaboklab(52.88% 0.1874 -0.0958)
OKLCHoklch(52.88% 0.21 332.9)
XYZxyz(23.8465, 12.5645, 33.5104)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC259E #25AC33
analogous
#7625AC #AC259E #AC255A
triadic
#AC259E #9EAC25 #259EAC
tetradic
#AC259E #AC7625 #25AC33 #255AAC
square
#AC259E #AC7625 #25AC33 #255AAC
split-complementary
#AC259E #5AAC25 #25AC76
monochromatic
#470F41 #7A1A70 #AC259E #D53AC4 #DF6CD3

Accessibility & contrast

On white

5.98
#AC259E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AC259E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC259E
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC259E#FFFFFF#000000##FFFFFF
##AC259E1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D57A1
Deuteranopia (green-blind)
#546A9B
Tritanopia (blue-blind)
#B43561
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac259e;
/* rgb */ color: rgb(172, 37, 158);
/* oklch */ color: oklch(52.9% 0.210 332.9);
Tailwind
colors: {
  custom: {
    50: '#c970bb',
    500: '#ac259e',
    950: '#000000',
  },
}
SCSS
$custom: #ac259e;
$custom-light: #c970bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac259e",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 306.222,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.21046,
    "h": 332.9
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#AC259E
secondary
#67C671
accent
#E85240
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC259E

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

Preview Lab → · Contrast checker → · Palette generator →

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