#AC23B0#AC23B0

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

Color values

HEX#AC23B0
RGBrgb(172, 35, 176)
HSLhsl(298, 67%, 41%)
HSVhsv(298, 80%, 69%)
CMYKcmyk(2.3%, 80.1%, 0%, 31%)
CIE-LABlab(42.93, 68.27, -44.28)
CIE-LCHlch(42.93, 81.38, 327.03°)
OKLaboklab(53.8% 0.1886 -0.1232)
OKLCHoklch(53.8% 0.225 326.9)
XYZxyz(25.4503, 13.1092, 42.2557)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23B0 #27B023
analogous
#6623B0 #AC23B0 #B0236E
triadic
#AC23B0 #B0AC23 #23B0AC
tetradic
#AC23B0 #B06623 #27B023 #236EB0
square
#AC23B0 #B06623 #27B023 #236EB0
split-complementary
#AC23B0 #6EB023 #23B066
monochromatic
#480F4A #7A197D #AC23B0 #D339D8 #DE6CE2

Accessibility & contrast

On white

5.80
#AC23B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AC23B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23B0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23B0#FFFFFF#000000##FFFFFF
##AC23B01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#496BAD
Tritanopia (blue-blind)
#B13D6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac23b0;
/* rgb */ color: rgb(172, 35, 176);
/* oklch */ color: oklch(53.8% 0.225 326.9);
Tailwind
colors: {
  custom: {
    50: '#c970c8',
    500: '#ac23b0',
    950: '#000000',
  },
}
SCSS
$custom: #ac23b0;
$custom-light: #c970c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23b0",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 298.298,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.22527,
    "h": 326.9
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

primary
#AC23B0
secondary
#6AC867
accent
#EA3E43
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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