#AC38BC#AC38BC

#AC38BC is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.214 H 322.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AC38BC
RGBrgb(172, 56, 188)
HSLhsl(293, 54%, 48%)
HSVhsv(293, 70%, 74%)
CMYKcmyk(8.5%, 70.2%, 0%, 26.3%)
CIE-LABlab(45.95, 63.69, -46.52)
CIE-LCHlch(45.95, 78.87, 323.86°)
OKLaboklab(56.18% 0.1697 -0.1298)
OKLCHoklch(56.18% 0.214 322.6)
XYZxyz(27.5036, 15.2314, 49.0585)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38BC #48BC38
analogous
#6A38BC #AC38BC #BC388A
triadic
#AC38BC #BCAC38 #38BCAC
tetradic
#AC38BC #BC6A38 #48BC38 #388ABC
square
#AC38BC #BC6A38 #48BC38 #388ABC
split-complementary
#AC38BC #8ABC38 #38BC6A
monochromatic
#561C5E #812A8D #AC38BC #C361D0 #D590DE

Accessibility & contrast

On white

5.19
#AC38BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AC38BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38BC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38BC#FFFFFF#000000##FFFFFF
##AC38BC1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564C0
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#AE4F76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac38bc;
/* rgb */ color: rgb(172, 56, 188);
/* oklch */ color: oklch(56.2% 0.214 322.6);
Tailwind
colors: {
  custom: {
    50: '#c879d1',
    500: '#ac38bc',
    950: '#000000',
  },
}
SCSS
$custom: #ac38bc;
$custom-light: #c879d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38bc",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 292.727,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56179,
    "c": 0.21369,
    "h": 322.6
  },
  "luminance": 0.1523
}

Semantic roles & 50–950 ramp

primary
#AC38BC
secondary
#8FC987
accent
#DD4A5C
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AC38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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