#AC38C4#AC38C4

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

Color values

HEX#AC38C4
RGBrgb(172, 56, 196)
HSLhsl(290, 56%, 49%)
HSVhsv(290, 71%, 77%)
CMYKcmyk(12.2%, 71.4%, 0%, 23.1%)
CIE-LABlab(46.43, 65.15, -50.41)
CIE-LCHlch(46.43, 82.38, 322.27°)
OKLaboklab(56.67% 0.1693 -0.1412)
OKLCHoklch(56.67% 0.22 320.2)
XYZxyz(28.3900, 15.5860, 53.7268)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38C4 #50C438
analogous
#6638C4 #AC38C4 #C43896
triadic
#AC38C4 #C4AC38 #38C4AC
tetradic
#AC38C4 #C46638 #50C438 #3896C4
square
#AC38C4 #C46638 #50C438 #3896C4
split-complementary
#AC38C4 #96C438 #38C466
monochromatic
#581D65 #822A94 #AC38C4 #C166D3 #D496E1

Accessibility & contrast

On white

5.10
#AC38C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AC38C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38C4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38C4#FFFFFF#000000##FFFFFF
##AC38C41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#4572C1
Tritanopia (blue-blind)
#AD537B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac38c4;
/* rgb */ color: rgb(172, 56, 196);
/* oklch */ color: oklch(56.7% 0.220 320.2);
Tailwind
colors: {
  custom: {
    50: '#c979d6',
    500: '#ac38c4',
    950: '#000000',
  },
}
SCSS
$custom: #ac38c4;
$custom-light: #c979d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38c4",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 289.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56673,
    "c": 0.22047,
    "h": 320.2
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#AC38C4
secondary
#97CC8C
accent
#DF4963
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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