#AC23A7#AC23A7

#AC23A7 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.219 H 329.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AC23A7
RGBrgb(172, 35, 167)
HSLhsl(302, 66%, 41%)
HSVhsv(302, 80%, 67%)
CMYKcmyk(0%, 79.7%, 2.9%, 32.5%)
CIE-LABlab(42.41, 66.84, -39.76)
CIE-LCHlch(42.41, 77.78, 329.25°)
OKLaboklab(53.26% 0.189 -0.11)
OKLCHoklch(53.26% 0.219 329.8)
XYZxyz(24.5892, 12.7647, 37.7205)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23A7 #23AC28
analogous
#6C23AC #AC23A7 #AC2362
triadic
#AC23A7 #A7AC23 #23A7AC
tetradic
#AC23A7 #AC6C23 #23AC28 #2362AC
square
#AC23A7 #AC6C23 #23AC28 #2362AC
split-complementary
#AC23A7 #62AC23 #23AC6C
monochromatic
#460E44 #791976 #AC23A7 #D636D0 #E069DC

Accessibility & contrast

On white

5.91
#AC23A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC23A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23A7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23A7#FFFFFF#000000##FFFFFF
##AC23A71.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0459AA
Deuteranopia (green-blind)
#4F6AA4
Tritanopia (blue-blind)
#B23965
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac23a7;
/* rgb */ color: rgb(172, 35, 167);
/* oklch */ color: oklch(53.3% 0.219 329.8);
Tailwind
colors: {
  custom: {
    50: '#c970c1',
    500: '#ac23a7',
    950: '#000000',
  },
}
SCSS
$custom: #ac23a7;
$custom-light: #c970c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23a7",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 302.19,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53262,
    "c": 0.21867,
    "h": 329.8
  },
  "luminance": 0.12763
}

Semantic roles & 50–950 ramp

primary
#AC23A7
secondary
#64C668
accent
#E9453F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC23A7

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

Preview Lab → · Contrast checker → · Palette generator →

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