#AC299D#AC299D

#AC299D is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.206 H 333.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC299D
RGBrgb(172, 41, 157)
HSLhsl(307, 62%, 42%)
HSVhsv(307, 76%, 67%)
CMYKcmyk(0%, 76.2%, 8.7%, 32.5%)
CIE-LABlab(42.45, 63.62, -33.71)
CIE-LCHlch(42.45, 72.00, 332.08°)
OKLaboklab(53.12% 0.184 -0.0925)
OKLCHoklch(53.12% 0.206 333.3)
XYZxyz(23.8922, 12.7929, 33.1027)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC299D #29AC38
analogous
#7A29AC #AC299D #AC295C
triadic
#AC299D #9DAC29 #299DAC
tetradic
#AC299D #AC7A29 #29AC38 #295CAC
square
#AC299D #AC7A29 #29AC38 #295CAC
split-complementary
#AC299D #5CAC29 #29AC7A
monochromatic
#491143 #7B1D70 #AC299D #D241C1 #DD72D1

Accessibility & contrast

On white

5.90
#AC299D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC299D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC299D
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC299D#FFFFFF#000000##FFFFFF
##AC299D1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#566B9A
Tritanopia (blue-blind)
#B43761
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac299d;
/* rgb */ color: rgb(172, 41, 157);
/* oklch */ color: oklch(53.1% 0.206 333.3);
Tailwind
colors: {
  custom: {
    50: '#c971ba',
    500: '#ac299d',
    950: '#000000',
  },
}
SCSS
$custom: #ac299d;
$custom-light: #c971ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac299d",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 306.87,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53118,
    "c": 0.20591,
    "h": 333.3
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#AC299D
secondary
#6CC576
accent
#E55643
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC299D

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

Preview Lab → · Contrast checker → · Palette generator →

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