#AC38D0#AC38D0

#AC38D0 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.231 H 316.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AC38D0
RGBrgb(172, 56, 208)
HSLhsl(286, 62%, 52%)
HSVhsv(286, 73%, 82%)
CMYKcmyk(17.3%, 73.1%, 0%, 18.4%)
CIE-LABlab(47.18, 67.40, -56.14)
CIE-LCHlch(47.18, 87.72, 320.21°)
OKLaboklab(57.45% 0.1683 -0.158)
OKLCHoklch(57.45% 0.231 316.8)
XYZxyz(29.8109, 16.1543, 61.2101)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38D0 #5CD038
analogous
#6038D0 #AC38D0 #D038A8
triadic
#AC38D0 #D0AC38 #38D0AC
tetradic
#AC38D0 #D06038 #5CD038 #38A8D0
square
#AC38D0 #D06038 #5CD038 #38A8D0
split-complementary
#AC38D0 #A8D038 #38D060
monochromatic
#5E1B73 #8627A4 #AC38D0 #C16ADC #D59BE7

Accessibility & contrast

On white

4.96
#AC38D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AC38D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38D0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38D0#FFFFFF#000000##FFFFFF
##AC38D01.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#3A73CD
Tritanopia (blue-blind)
#AA5881
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac38d0;
/* rgb */ color: rgb(172, 56, 208);
/* oklch */ color: oklch(57.4% 0.231 316.8);
Tailwind
colors: {
  custom: {
    50: '#c97adf',
    500: '#ac38d0',
    950: '#000000',
  },
}
SCSS
$custom: #ac38d0;
$custom-light: #c97adf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38d0",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 285.789,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57446,
    "c": 0.2308,
    "h": 316.8
  },
  "luminance": 0.16153
}

Semantic roles & 50–950 ramp

primary
#AC38D0
secondary
#A0D391
accent
#E54369
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC38D0

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

Preview Lab → · Contrast checker → · Palette generator →

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