#AC38CE#AC38CE

#AC38CE is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.229 H 317.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AC38CE
RGBrgb(172, 56, 206)
HSLhsl(286, 60%, 51%)
HSVhsv(286, 73%, 81%)
CMYKcmyk(16.5%, 72.8%, 0%, 19.2%)
CIE-LABlab(47.05, 67.02, -55.19)
CIE-LCHlch(47.05, 86.82, 320.53°)
OKLaboklab(57.32% 0.1685 -0.1552)
OKLCHoklch(57.32% 0.229 317.3)
XYZxyz(29.5664, 16.0565, 59.9224)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38CE #5ACE38
analogous
#6138CE #AC38CE #CE38A5
triadic
#AC38CE #CEAC38 #38CEAC
tetradic
#AC38CE #CE6138 #5ACE38 #38A5CE
square
#AC38CE #CE6138 #5ACE38 #38A5CE
split-complementary
#AC38CE #A5CE38 #38CE61
monochromatic
#5D1C70 #8628A1 #AC38CE #C069DA #D59AE6

Accessibility & contrast

On white

4.99
#AC38CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AC38CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38CE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38CE#FFFFFF#000000##FFFFFF
##AC38CE1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#3C73CB
Tritanopia (blue-blind)
#AA5780
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac38ce;
/* rgb */ color: rgb(172, 56, 206);
/* oklch */ color: oklch(57.3% 0.229 317.3);
Tailwind
colors: {
  custom: {
    50: '#c97ade',
    500: '#ac38ce',
    950: '#000000',
  },
}
SCSS
$custom: #ac38ce;
$custom-light: #c97ade;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38ce",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 286.4,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57315,
    "c": 0.22907,
    "h": 317.3
  },
  "luminance": 0.16055
}

Semantic roles & 50–950 ramp

primary
#AC38CE
secondary
#9FD290
accent
#E44468
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC38CE

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

Preview Lab → · Contrast checker → · Palette generator →

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