#AC38AC#AC38AC

#AC38AC is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.2% C 0.200 H 327.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AC38AC
RGBrgb(172, 56, 172)
HSLhsl(300, 51%, 45%)
HSVhsv(300, 67%, 67%)
CMYKcmyk(0%, 67.4%, 0%, 32.5%)
CIE-LABlab(45.05, 60.89, -38.54)
CIE-LCHlch(45.05, 72.06, 327.67°)
OKLaboklab(55.25% 0.1698 -0.1066)
OKLCHoklch(55.25% 0.2 327.9)
XYZxyz(25.8735, 14.5793, 40.4731)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38AC #38AC38
analogous
#7238AC #AC38AC #AC3872
triadic
#AC38AC #ACAC38 #38ACAC
tetradic
#AC38AC #AC7238 #38AC38 #3872AC
square
#AC38AC #AC7238 #38AC38 #3872AC
split-complementary
#AC38AC #72AC38 #38AC72
monochromatic
#501A50 #7E297E #AC38AC #C958C9 #D887D8

Accessibility & contrast

On white

5.36
#AC38AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AC38AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38AC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38AC#FFFFFF#000000##FFFFFF
##AC38AC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#B1486E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac38ac;
/* rgb */ color: rgb(172, 56, 172);
/* oklch */ color: oklch(55.2% 0.200 327.9);
Tailwind
colors: {
  custom: {
    50: '#c878c5',
    500: '#ac38ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac38ac;
$custom-light: #c878c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38ac",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55246,
    "c": 0.20045,
    "h": 327.9
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#AC38AC
secondary
#7EC27E
accent
#DA4D4D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AC38AC

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

Preview Lab → · Contrast checker → · Palette generator →

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