#AC299E#AC299E

#AC299E is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.207 H 332.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AC299E
RGBrgb(172, 41, 158)
HSLhsl(306, 62%, 42%)
HSVhsv(306, 76%, 67%)
CMYKcmyk(0%, 76.2%, 8.1%, 32.5%)
CIE-LABlab(42.50, 63.77, -34.23)
CIE-LCHlch(42.50, 72.37, 331.78°)
OKLaboklab(53.17% 0.184 -0.094)
OKLCHoklch(53.17% 0.207 332.9)
XYZxyz(23.9779, 12.8272, 33.5542)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC299E #29AC37
analogous
#7929AC #AC299E #AC295D
triadic
#AC299E #9EAC29 #299EAC
tetradic
#AC299E #AC7929 #29AC37 #295DAC
square
#AC299E #AC7929 #29AC37 #295DAC
split-complementary
#AC299E #5DAC29 #29AC79
monochromatic
#491143 #7B1D71 #AC299E #D241C2 #DD72D2

Accessibility & contrast

On white

5.89
#AC299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC299E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC299E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC299E#FFFFFF#000000##FFFFFF
##AC299E1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2258A1
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#B43762
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac299e;
/* rgb */ color: rgb(172, 41, 158);
/* oklch */ color: oklch(53.2% 0.207 332.9);
Tailwind
colors: {
  custom: {
    50: '#c971bb',
    500: '#ac299e',
    950: '#000000',
  },
}
SCSS
$custom: #ac299e;
$custom-light: #c971bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac299e",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 306.412,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.20662,
    "h": 332.9
  },
  "luminance": 0.12825
}

Semantic roles & 50–950 ramp

primary
#AC299E
secondary
#6CC576
accent
#E55443
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC299E

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

Preview Lab → · Contrast checker → · Palette generator →

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