#AC38C5#AC38C5

#AC38C5 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.221 H 319.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AC38C5
RGBrgb(172, 56, 197)
HSLhsl(289, 56%, 50%)
HSVhsv(289, 72%, 77%)
CMYKcmyk(12.7%, 71.6%, 0%, 22.7%)
CIE-LABlab(46.49, 65.34, -50.89)
CIE-LCHlch(46.49, 82.82, 322.08°)
OKLaboklab(56.74% 0.1693 -0.1426)
OKLCHoklch(56.74% 0.221 319.9)
XYZxyz(28.5042, 15.6316, 54.3283)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38C5 #51C538
analogous
#6638C5 #AC38C5 #C53897
triadic
#AC38C5 #C5AC38 #38C5AC
tetradic
#AC38C5 #C56638 #51C538 #3897C5
square
#AC38C5 #C56638 #51C538 #3897C5
split-complementary
#AC38C5 #97C538 #38C566
monochromatic
#591D66 #822A95 #AC38C5 #C067D4 #D496E1

Accessibility & contrast

On white

5.09
#AC38C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AC38C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38C5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38C5#FFFFFF#000000##FFFFFF
##AC38C51.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#4472C2
Tritanopia (blue-blind)
#AC537B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac38c5;
/* rgb */ color: rgb(172, 56, 197);
/* oklch */ color: oklch(56.7% 0.221 319.9);
Tailwind
colors: {
  custom: {
    50: '#c979d7',
    500: '#ac38c5',
    950: '#000000',
  },
}
SCSS
$custom: #ac38c5;
$custom-light: #c979d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38c5",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 289.362,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56736,
    "c": 0.22133,
    "h": 319.9
  },
  "luminance": 0.1563
}

Semantic roles & 50–950 ramp

primary
#AC38C5
secondary
#98CD8C
accent
#DF4963
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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