#AC38BA#AC38BA

#AC38BA is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.212 H 323.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AC38BA
RGBrgb(172, 56, 186)
HSLhsl(294, 54%, 47%)
HSVhsv(294, 70%, 73%)
CMYKcmyk(7.5%, 69.9%, 0%, 27.1%)
CIE-LABlab(45.83, 63.33, -45.53)
CIE-LCHlch(45.83, 78.00, 324.29°)
OKLaboklab(56.06% 0.1698 -0.1269)
OKLCHoklch(56.06% 0.212 323.2)
XYZxyz(27.2895, 15.1458, 47.9309)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38BA #46BA38
analogous
#6B38BA #AC38BA #BA3887
triadic
#AC38BA #BAAC38 #38BAAC
tetradic
#AC38BA #BA6B38 #46BA38 #3887BA
square
#AC38BA #BA6B38 #46BA38 #3887BA
split-complementary
#AC38BA #87BA38 #38BA6B
monochromatic
#551C5C #812A8B #AC38BA #C360CF #D58FDD

Accessibility & contrast

On white

5.21
#AC38BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AC38BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38BA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38BA#FFFFFF#000000##FFFFFF
##AC38BA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D64BE
Deuteranopia (green-blind)
#4D71B7
Tritanopia (blue-blind)
#AF4E75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac38ba;
/* rgb */ color: rgb(172, 56, 186);
/* oklch */ color: oklch(56.1% 0.212 323.2);
Tailwind
colors: {
  custom: {
    50: '#c879cf',
    500: '#ac38ba',
    950: '#000000',
  },
}
SCSS
$custom: #ac38ba;
$custom-light: #c879cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38ba",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 293.538,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56059,
    "c": 0.212,
    "h": 323.2
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#AC38BA
secondary
#8DC886
accent
#DD4B5A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AC38BA

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

Preview Lab → · Contrast checker → · Palette generator →

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