#AC38D5#AC38D5

#AC38D5 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.235 H 315.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AC38D5
RGBrgb(172, 56, 213)
HSLhsl(284, 65%, 53%)
HSVhsv(284, 74%, 84%)
CMYKcmyk(19.2%, 73.7%, 0%, 16.5%)
CIE-LABlab(47.50, 68.36, -58.49)
CIE-LCHlch(47.50, 89.97, 319.45°)
OKLaboklab(57.78% 0.1677 -0.1649)
OKLCHoklch(57.78% 0.235 315.5)
XYZxyz(30.4357, 16.4043, 64.5010)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38D5 #61D538
analogous
#5D38D5 #AC38D5 #D538B0
triadic
#AC38D5 #D5AC38 #38D5AC
tetradic
#AC38D5 #D55D38 #61D538 #38B0D5
square
#AC38D5 #D55D38 #61D538 #38B0D5
split-complementary
#AC38D5 #B0D538 #38D55D
monochromatic
#601A79 #8824AC #AC38D5 #C16BE0 #D69DEA

Accessibility & contrast

On white

4.91
#AC38D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AC38D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38D5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38D5#FFFFFF#000000##FFFFFF
##AC38D51.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#3474D2
Tritanopia (blue-blind)
#A95A84
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac38d5;
/* rgb */ color: rgb(172, 56, 213);
/* oklch */ color: oklch(57.8% 0.235 315.5);
Tailwind
colors: {
  custom: {
    50: '#c97ae3',
    500: '#ac38d5',
    950: '#000000',
  },
}
SCSS
$custom: #ac38d5;
$custom-light: #c97ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38d5",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 213
  },
  "hsl": {
    "h": 284.331,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57779,
    "c": 0.23514,
    "h": 315.5
  },
  "luminance": 0.16403
}

Semantic roles & 50–950 ramp

primary
#AC38D5
secondary
#A4D692
accent
#E8406C
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A15
muted
#827C84

Preview Lab

Preview with #AC38D5

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

Preview Lab → · Contrast checker → · Palette generator →

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