#AC38C0#AC38C0

#AC38C0 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.217 H 321.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AC38C0
RGBrgb(172, 56, 192)
HSLhsl(291, 55%, 49%)
HSVhsv(291, 71%, 75%)
CMYKcmyk(10.4%, 70.8%, 0%, 24.7%)
CIE-LABlab(46.19, 64.42, -48.47)
CIE-LCHlch(46.19, 80.62, 323.04°)
OKLaboklab(56.42% 0.1696 -0.1355)
OKLCHoklch(56.42% 0.217 321.4)
XYZxyz(27.9408, 15.4063, 51.3609)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38C0 #4CC038
analogous
#6838C0 #AC38C0 #C03890
triadic
#AC38C0 #C0AC38 #38C0AC
tetradic
#AC38C0 #C06838 #4CC038 #3890C0
square
#AC38C0 #C06838 #4CC038 #3890C0
split-complementary
#AC38C0 #90C038 #38C068
monochromatic
#571C61 #822A91 #AC38C0 #C164D2 #D493DF

Accessibility & contrast

On white

5.15
#AC38C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AC38C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38C0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38C0#FFFFFF#000000##FFFFFF
##AC38C01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#4872BD
Tritanopia (blue-blind)
#AE5178
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac38c0;
/* rgb */ color: rgb(172, 56, 192);
/* oklch */ color: oklch(56.4% 0.217 321.4);
Tailwind
colors: {
  custom: {
    50: '#c879d4',
    500: '#ac38c0',
    950: '#000000',
  },
}
SCSS
$custom: #ac38c0;
$custom-light: #c879d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38c0",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 291.176,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56424,
    "c": 0.21707,
    "h": 321.4
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

primary
#AC38C0
secondary
#93CB89
accent
#DE4A5F
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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