#AC38D1#AC38D1

#AC38D1 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.232 H 316.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AC38D1
RGBrgb(172, 56, 209)
HSLhsl(285, 62%, 52%)
HSVhsv(285, 73%, 82%)
CMYKcmyk(17.7%, 73.2%, 0%, 18%)
CIE-LABlab(47.24, 67.59, -56.61)
CIE-LCHlch(47.24, 88.17, 320.05°)
OKLaboklab(57.51% 0.1682 -0.1593)
OKLCHoklch(57.51% 0.232 316.5)
XYZxyz(29.9343, 16.2037, 61.8601)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38D1 #5DD138
analogous
#6038D1 #AC38D1 #D138AA
triadic
#AC38D1 #D1AC38 #38D1AC
tetradic
#AC38D1 #D16038 #5DD138 #38AAD1
square
#AC38D1 #D16038 #5DD138 #38AAD1
split-complementary
#AC38D1 #AAD138 #38D160
monochromatic
#5E1B74 #8726A6 #AC38D1 #C16ADC #D59BE8

Accessibility & contrast

On white

4.95
#AC38D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AC38D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38D1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38D1#FFFFFF#000000##FFFFFF
##AC38D11.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#3873CE
Tritanopia (blue-blind)
#AA5882
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac38d1;
/* rgb */ color: rgb(172, 56, 209);
/* oklch */ color: oklch(57.5% 0.232 316.5);
Tailwind
colors: {
  custom: {
    50: '#c97ae0',
    500: '#ac38d1',
    950: '#000000',
  },
}
SCSS
$custom: #ac38d1;
$custom-light: #c97ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38d1",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 285.49,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57512,
    "c": 0.23167,
    "h": 316.5
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#AC38D1
secondary
#A1D491
accent
#E6426A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC38D1

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

Preview Lab → · Contrast checker → · Palette generator →

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