#AC23AF#AC23AF

#AC23AF is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.225 H 327.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AC23AF
RGBrgb(172, 35, 175)
HSLhsl(299, 67%, 41%)
HSVhsv(299, 80%, 69%)
CMYKcmyk(1.7%, 80%, 0%, 31.4%)
CIE-LABlab(42.87, 68.11, -43.79)
CIE-LCHlch(42.87, 80.97, 327.26°)
OKLaboklab(53.74% 0.1887 -0.1217)
OKLCHoklch(53.74% 0.225 327.2)
XYZxyz(25.3518, 13.0697, 41.7366)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23AF #26AF23
analogous
#6623AF #AC23AF #AF236C
triadic
#AC23AF #AFAC23 #23AFAC
tetradic
#AC23AF #AF6623 #26AF23 #236CAF
square
#AC23AF #AF6623 #26AF23 #236CAF
split-complementary
#AC23AF #6CAF23 #23AF66
monochromatic
#480F49 #7A197C #AC23AF #D438D7 #DF6BE1

Accessibility & contrast

On white

5.81
#AC23AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AC23AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23AF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23AF#FFFFFF#000000##FFFFFF
##AC23AF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#B13D6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac23af;
/* rgb */ color: rgb(172, 35, 175);
/* oklch */ color: oklch(53.7% 0.225 327.2);
Tailwind
colors: {
  custom: {
    50: '#c970c7',
    500: '#ac23af',
    950: '#000000',
  },
}
SCSS
$custom: #ac23af;
$custom-light: #c970c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23af",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 298.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53738,
    "c": 0.22453,
    "h": 327.2
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#AC23AF
secondary
#68C766
accent
#EA3E42
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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