#AC23BC#AC23BC

#AC23BC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.6% C 0.234 H 323.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AC23BC
RGBrgb(172, 35, 188)
HSLhsl(294, 69%, 44%)
HSVhsv(294, 81%, 74%)
CMYKcmyk(8.5%, 81.4%, 0%, 26.3%)
CIE-LABlab(43.66, 70.26, -50.18)
CIE-LCHlch(43.66, 86.34, 324.47°)
OKLaboklab(54.55% 0.1876 -0.1404)
OKLCHoklch(54.55% 0.234 323.2)
XYZxyz(26.6905, 13.6052, 48.7874)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23BC #33BC23
analogous
#5F23BC #AC23BC #BC237F
triadic
#AC23BC #BCAC23 #23BCAC
tetradic
#AC23BC #BC5F23 #33BC23 #237FBC
square
#AC23BC #BC5F23 #33BC23 #237FBC
split-complementary
#AC23BC #7FBC23 #23BC5F
monochromatic
#4E1055 #7D1988 #AC23BC #CB41DC #D974E5

Accessibility & contrast

On white

5.64
#AC23BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AC23BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23BC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23BC#FFFFFF#000000##FFFFFF
##AC23BC1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#406CB9
Tritanopia (blue-blind)
#AF4471
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac23bc;
/* rgb */ color: rgb(172, 35, 188);
/* oklch */ color: oklch(54.6% 0.234 323.2);
Tailwind
colors: {
  custom: {
    50: '#c971d1',
    500: '#ac23bc',
    950: '#000000',
  },
}
SCSS
$custom: #ac23bc;
$custom-light: #c971d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23bc",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 293.725,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54553,
    "c": 0.23429,
    "h": 323.2
  },
  "luminance": 0.13604
}

Semantic roles & 50–950 ramp

primary
#AC23BC
secondary
#78CC6F
accent
#EB3C4F
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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