#AC38C1#AC38C1

#AC38C1 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.218 H 321.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AC38C1
RGBrgb(172, 56, 193)
HSLhsl(291, 55%, 49%)
HSVhsv(291, 71%, 76%)
CMYKcmyk(10.9%, 71%, 0%, 24.3%)
CIE-LABlab(46.25, 64.60, -48.96)
CIE-LCHlch(46.25, 81.05, 322.84°)
OKLaboklab(56.49% 0.1695 -0.1369)
OKLCHoklch(56.49% 0.218 321.1)
XYZxyz(28.0520, 15.4507, 51.9464)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38C1 #4DC138
analogous
#6838C1 #AC38C1 #C13892
triadic
#AC38C1 #C1AC38 #38C1AC
tetradic
#AC38C1 #C16838 #4DC138 #3892C1
square
#AC38C1 #C16838 #4DC138 #3892C1
split-complementary
#AC38C1 #92C138 #38C168
monochromatic
#571C62 #822A92 #AC38C1 #C164D2 #D494E0

Accessibility & contrast

On white

5.13
#AC38C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AC38C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38C1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38C1#FFFFFF#000000##FFFFFF
##AC38C11.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#4872BE
Tritanopia (blue-blind)
#AD5179
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac38c1;
/* rgb */ color: rgb(172, 56, 193);
/* oklch */ color: oklch(56.5% 0.218 321.1);
Tailwind
colors: {
  custom: {
    50: '#c879d4',
    500: '#ac38c1',
    950: '#000000',
  },
}
SCSS
$custom: #ac38c1;
$custom-light: #c879d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38c1",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 290.803,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56486,
    "c": 0.21792,
    "h": 321.1
  },
  "luminance": 0.15449
}

Semantic roles & 50–950 ramp

primary
#AC38C1
secondary
#94CB8A
accent
#DE4960
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC38C1

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

Preview Lab → · Contrast checker → · Palette generator →

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