#AC38D3#AC38D3

#AC38D3 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.233 H 316.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AC38D3
RGBrgb(172, 56, 211)
HSLhsl(285, 64%, 52%)
HSVhsv(285, 73%, 83%)
CMYKcmyk(18.5%, 73.5%, 0%, 17.3%)
CIE-LABlab(47.37, 67.98, -57.55)
CIE-LCHlch(47.37, 89.07, 319.75°)
OKLaboklab(57.65% 0.1679 -0.1621)
OKLCHoklch(57.65% 0.233 316)
XYZxyz(30.1835, 16.3033, 63.1723)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38D3 #5FD338
analogous
#5E38D3 #AC38D3 #D338AD
triadic
#AC38D3 #D3AC38 #38D3AC
tetradic
#AC38D3 #D35E38 #5FD338 #38ADD3
square
#AC38D3 #D35E38 #5FD338 #38ADD3
split-complementary
#AC38D3 #ADD338 #38D35E
monochromatic
#5F1A76 #8825A9 #AC38D3 #C16ADE #D69CE9

Accessibility & contrast

On white

4.93
#AC38D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AC38D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38D3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38D3#FFFFFF#000000##FFFFFF
##AC38D31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#3673D0
Tritanopia (blue-blind)
#A95983
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac38d3;
/* rgb */ color: rgb(172, 56, 211);
/* oklch */ color: oklch(57.6% 0.233 316.0);
Tailwind
colors: {
  custom: {
    50: '#c97ae1',
    500: '#ac38d3',
    950: '#000000',
  },
}
SCSS
$custom: #ac38d3;
$custom-light: #c97ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38d3",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 284.903,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57645,
    "c": 0.2334,
    "h": 316
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#AC38D3
secondary
#A3D592
accent
#E7416B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC38D3

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

Preview Lab → · Contrast checker → · Palette generator →

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