#AC38BB#AC38BB

#AC38BB is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.213 H 322.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AC38BB
RGBrgb(172, 56, 187)
HSLhsl(293, 54%, 48%)
HSVhsv(293, 70%, 73%)
CMYKcmyk(8%, 70.1%, 0%, 26.7%)
CIE-LABlab(45.89, 63.51, -46.02)
CIE-LCHlch(45.89, 78.43, 324.07°)
OKLaboklab(56.12% 0.1698 -0.1284)
OKLCHoklch(56.12% 0.213 322.9)
XYZxyz(27.3962, 15.1884, 48.4927)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38BB #47BB38
analogous
#6B38BB #AC38BB #BB3888
triadic
#AC38BB #BBAC38 #38BBAC
tetradic
#AC38BB #BB6B38 #47BB38 #3888BB
square
#AC38BB #BB6B38 #47BB38 #3888BB
split-complementary
#AC38BB #88BB38 #38BB6B
monochromatic
#551C5D #812A8C #AC38BB #C361D0 #D590DE

Accessibility & contrast

On white

5.20
#AC38BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AC38BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38BB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38BB#FFFFFF#000000##FFFFFF
##AC38BB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#4C71B8
Tritanopia (blue-blind)
#AF4F76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac38bb;
/* rgb */ color: rgb(172, 56, 187);
/* oklch */ color: oklch(56.1% 0.213 322.9);
Tailwind
colors: {
  custom: {
    50: '#c879d0',
    500: '#ac38bb',
    950: '#000000',
  },
}
SCSS
$custom: #ac38bb;
$custom-light: #c879d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38bb",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 293.13,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56119,
    "c": 0.21285,
    "h": 322.9
  },
  "luminance": 0.15187
}

Semantic roles & 50–950 ramp

primary
#AC38BB
secondary
#8EC886
accent
#DD4B5B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AC38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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