#AC23AD#AC23AD

#AC23AD is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.223 H 327.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AC23AD
RGBrgb(172, 35, 173)
HSLhsl(300, 66%, 41%)
HSVhsv(300, 80%, 68%)
CMYKcmyk(0.6%, 79.8%, 0%, 32.2%)
CIE-LABlab(42.75, 67.79, -42.79)
CIE-LCHlch(42.75, 80.17, 327.74°)
OKLaboklab(53.62% 0.1888 -0.1188)
OKLCHoklch(53.62% 0.223 327.8)
XYZxyz(25.1568, 12.9917, 40.7097)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23AD #24AD23
analogous
#6723AD #AC23AD #AD2369
triadic
#AC23AD #ADAC23 #23ADAC
tetradic
#AC23AD #AD6723 #24AD23 #2369AD
square
#AC23AD #AD6723 #24AD23 #2369AD
split-complementary
#AC23AD #69AD23 #23AD67
monochromatic
#470E47 #79197A #AC23AD #D537D6 #E06AE1

Accessibility & contrast

On white

5.84
#AC23AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AC23AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23AD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23AD#FFFFFF#000000##FFFFFF
##AC23AD1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#B13C69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac23ad;
/* rgb */ color: rgb(172, 35, 173);
/* oklch */ color: oklch(53.6% 0.223 327.8);
Tailwind
colors: {
  custom: {
    50: '#c970c6',
    500: '#ac23ad',
    950: '#000000',
  },
}
SCSS
$custom: #ac23ad;
$custom-light: #c970c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23ad",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 299.565,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53617,
    "c": 0.22305,
    "h": 327.8
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#AC23AD
secondary
#66C765
accent
#E93F40
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC23AD

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

Preview Lab → · Contrast checker → · Palette generator →

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