#AC38B6#AC38B6

#AC38B6 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.209 H 324.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AC38B6
RGBrgb(172, 56, 182)
HSLhsl(295, 53%, 47%)
HSVhsv(295, 69%, 71%)
CMYKcmyk(5.5%, 69.2%, 0%, 28.6%)
CIE-LABlab(45.60, 62.62, -43.55)
CIE-LCHlch(45.60, 76.28, 325.18°)
OKLaboklab(55.82% 0.1699 -0.1212)
OKLCHoklch(55.82% 0.209 324.5)
XYZxyz(26.8702, 14.9781, 45.7227)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38B6 #42B638
analogous
#6D38B6 #AC38B6 #B63881
triadic
#AC38B6 #B6AC38 #38B6AC
tetradic
#AC38B6 #B66D38 #42B638 #3881B6
square
#AC38B6 #B66D38 #42B638 #3881B6
split-complementary
#AC38B6 #81B638 #38B66D
monochromatic
#541B58 #802A87 #AC38B6 #C55ECD #D68DDC

Accessibility & contrast

On white

5.26
#AC38B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AC38B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38B6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38B6#FFFFFF#000000##FFFFFF
##AC38B61.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1763BA
Deuteranopia (green-blind)
#4F71B3
Tritanopia (blue-blind)
#AF4D73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ac38b6;
/* rgb */ color: rgb(172, 56, 182);
/* oklch */ color: oklch(55.8% 0.209 324.5);
Tailwind
colors: {
  custom: {
    50: '#c879cc',
    500: '#ac38b6',
    950: '#000000',
  },
}
SCSS
$custom: #ac38b6;
$custom-light: #c879cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38b6",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 295.238,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55821,
    "c": 0.20866,
    "h": 324.5
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#AC38B6
secondary
#89C684
accent
#DC4B57
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AC38B6

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

Preview Lab → · Contrast checker → · Palette generator →

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