#AC38D2#AC38D2

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

Color values

HEX#AC38D2
RGBrgb(172, 56, 210)
HSLhsl(285, 63%, 52%)
HSVhsv(285, 73%, 82%)
CMYKcmyk(18.1%, 73.3%, 0%, 17.6%)
CIE-LABlab(47.31, 67.79, -57.08)
CIE-LCHlch(47.31, 88.62, 319.90°)
OKLaboklab(57.58% 0.168 -0.1607)
OKLCHoklch(57.58% 0.233 316.3)
XYZxyz(30.0585, 16.2534, 62.5141)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38D2 #5ED238
analogous
#5F38D2 #AC38D2 #D238AB
triadic
#AC38D2 #D2AC38 #38D2AC
tetradic
#AC38D2 #D25F38 #5ED238 #38ABD2
square
#AC38D2 #D25F38 #5ED238 #38ABD2
split-complementary
#AC38D2 #ABD238 #38D25F
monochromatic
#5F1A75 #8726A7 #AC38D2 #C16ADD #D69CE9

Accessibility & contrast

On white

4.94
#AC38D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AC38D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38D2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38D2#FFFFFF#000000##FFFFFF
##AC38D21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#3773CF
Tritanopia (blue-blind)
#AA5983
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac38d2;
/* rgb */ color: rgb(172, 56, 210);
/* oklch */ color: oklch(57.6% 0.233 316.3);
Tailwind
colors: {
  custom: {
    50: '#c97ae1',
    500: '#ac38d2',
    950: '#000000',
  },
}
SCSS
$custom: #ac38d2;
$custom-light: #c97ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38d2",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 210
  },
  "hsl": {
    "h": 285.195,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57579,
    "c": 0.23253,
    "h": 316.3
  },
  "luminance": 0.16252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC38D2

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

Preview Lab → · Contrast checker → · Palette generator →

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