#AC23A2#AC23A2

#AC23A2 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.215 H 331.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AC23A2
RGBrgb(172, 35, 162)
HSLhsl(304, 66%, 41%)
HSVhsv(304, 80%, 67%)
CMYKcmyk(0%, 79.7%, 5.8%, 32.5%)
CIE-LABlab(42.13, 66.07, -37.22)
CIE-LCHlch(42.13, 75.83, 330.61°)
OKLaboklab(52.97% 0.189 -0.1026)
OKLCHoklch(52.97% 0.215 331.5)
XYZxyz(24.1359, 12.5834, 35.3331)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23A2 #23AC2D
analogous
#7223AC #AC23A2 #AC235D
triadic
#AC23A2 #A2AC23 #23A2AC
tetradic
#AC23A2 #AC7223 #23AC2D #235DAC
square
#AC23A2 #AC7223 #23AC2D #235DAC
split-complementary
#AC23A2 #5DAC23 #23AC72
monochromatic
#460E42 #791972 #AC23A2 #D636CA #E069D8

Accessibility & contrast

On white

5.97
#AC23A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AC23A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23A2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23A2#FFFFFF#000000##FFFFFF
##AC23A21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#B33662
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac23a2;
/* rgb */ color: rgb(172, 35, 162);
/* oklch */ color: oklch(53.0% 0.215 331.5);
Tailwind
colors: {
  custom: {
    50: '#c96fbe',
    500: '#ac23a2',
    950: '#000000',
  },
}
SCSS
$custom: #ac23a2;
$custom-light: #c96fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23a2",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 304.38,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52974,
    "c": 0.21508,
    "h": 331.5
  },
  "luminance": 0.12581
}

Semantic roles & 50–950 ramp

primary
#AC23A2
secondary
#64C66C
accent
#E94B3F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC23A2

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

Preview Lab → · Contrast checker → · Palette generator →

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