#AC38B4#AC38B4

#AC38B4 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.207 H 325.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AC38B4
RGBrgb(172, 56, 180)
HSLhsl(296, 53%, 46%)
HSVhsv(296, 69%, 71%)
CMYKcmyk(4.4%, 68.9%, 0%, 29.4%)
CIE-LABlab(45.49, 62.27, -42.56)
CIE-LCHlch(45.49, 75.42, 325.65°)
OKLaboklab(55.7% 0.1699 -0.1183)
OKLCHoklch(55.7% 0.207 325.2)
XYZxyz(26.6650, 14.8960, 44.6419)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38B4 #40B438
analogous
#6E38B4 #AC38B4 #B4387E
triadic
#AC38B4 #B4AC38 #38B4AC
tetradic
#AC38B4 #B46E38 #40B438 #387EB4
square
#AC38B4 #B46E38 #40B438 #387EB4
split-complementary
#AC38B4 #7EB438 #38B46E
monochromatic
#531B57 #7F2985 #AC38B4 #C55DCD #D68BDB

Accessibility & contrast

On white

5.28
#AC38B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AC38B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38B4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38B4#FFFFFF#000000##FFFFFF
##AC38B41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B63B8
Deuteranopia (green-blind)
#5171B1
Tritanopia (blue-blind)
#B04C72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ac38b4;
/* rgb */ color: rgb(172, 56, 180);
/* oklch */ color: oklch(55.7% 0.207 325.2);
Tailwind
colors: {
  custom: {
    50: '#c879cb',
    500: '#ac38b4',
    950: '#000000',
  },
}
SCSS
$custom: #ac38b4;
$custom-light: #c879cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38b4",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 296.129,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.207,
    "h": 325.2
  },
  "luminance": 0.14894
}

Semantic roles & 50–950 ramp

primary
#AC38B4
secondary
#87C582
accent
#DC4C55
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AC38B4

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

Preview Lab → · Contrast checker → · Palette generator →

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