#AC38B8#AC38B8

#AC38B8 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.210 H 323.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AC38B8
RGBrgb(172, 56, 184)
HSLhsl(294, 53%, 47%)
HSVhsv(294, 70%, 72%)
CMYKcmyk(6.5%, 69.6%, 0%, 27.8%)
CIE-LABlab(45.72, 62.98, -44.55)
CIE-LCHlch(45.72, 77.14, 324.73°)
OKLaboklab(55.94% 0.1698 -0.1241)
OKLCHoklch(55.94% 0.21 323.9)
XYZxyz(27.0784, 15.0613, 46.8190)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38B8 #44B838
analogous
#6C38B8 #AC38B8 #B83884
triadic
#AC38B8 #B8AC38 #38B8AC
tetradic
#AC38B8 #B86C38 #44B838 #3884B8
square
#AC38B8 #B86C38 #44B838 #3884B8
split-complementary
#AC38B8 #84B838 #38B86C
monochromatic
#541B5A #802A89 #AC38B8 #C45FCE #D58EDD

Accessibility & contrast

On white

5.23
#AC38B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AC38B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38B8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38B8#FFFFFF#000000##FFFFFF
##AC38B81.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1263BC
Deuteranopia (green-blind)
#4E71B5
Tritanopia (blue-blind)
#AF4E74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ac38b8;
/* rgb */ color: rgb(172, 56, 184);
/* oklch */ color: oklch(55.9% 0.210 323.9);
Tailwind
colors: {
  custom: {
    50: '#c879ce',
    500: '#ac38b8',
    950: '#000000',
  },
}
SCSS
$custom: #ac38b8;
$custom-light: #c879ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38b8",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 294.375,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55939,
    "c": 0.21032,
    "h": 323.9
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

primary
#AC38B8
secondary
#8BC785
accent
#DD4B59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AC38B8

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

Preview Lab → · Contrast checker → · Palette generator →

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