#AC38B7#AC38B7

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

Color values

HEX#AC38B7
RGBrgb(172, 56, 183)
HSLhsl(295, 53%, 47%)
HSVhsv(295, 69%, 72%)
CMYKcmyk(6%, 69.4%, 0%, 28.2%)
CIE-LABlab(45.66, 62.80, -44.05)
CIE-LCHlch(45.66, 76.71, 324.95°)
OKLaboklab(55.88% 0.1699 -0.1226)
OKLCHoklch(55.88% 0.209 324.2)
XYZxyz(26.9739, 15.0195, 46.2689)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38B7 #43B738
analogous
#6D38B7 #AC38B7 #B73883
triadic
#AC38B7 #B7AC38 #38B7AC
tetradic
#AC38B7 #B76D38 #43B738 #3883B7
square
#AC38B7 #B76D38 #43B738 #3883B7
split-complementary
#AC38B7 #83B738 #38B76D
monochromatic
#541B59 #802A88 #AC38B7 #C45ECE #D58DDC

Accessibility & contrast

On white

5.25
#AC38B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC38B7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38B7#FFFFFF#000000##FFFFFF
##AC38B71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1563BB
Deuteranopia (green-blind)
#4F71B4
Tritanopia (blue-blind)
#AF4D74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ac38b7;
/* rgb */ color: rgb(172, 56, 183);
/* oklch */ color: oklch(55.9% 0.209 324.2);
Tailwind
colors: {
  custom: {
    50: '#c879cd',
    500: '#ac38b7',
    950: '#000000',
  },
}
SCSS
$custom: #ac38b7;
$custom-light: #c879cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38b7",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 294.803,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5588,
    "c": 0.20949,
    "h": 324.2
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#AC38B7
secondary
#8AC784
accent
#DD4B58
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AC38B7

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

Preview Lab → · Contrast checker → · Palette generator →

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