#AC38BF#AC38BF

#AC38BF is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.216 H 321.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AC38BF
RGBrgb(172, 56, 191)
HSLhsl(292, 55%, 48%)
HSVhsv(292, 71%, 75%)
CMYKcmyk(9.9%, 70.7%, 0%, 25.1%)
CIE-LABlab(46.13, 64.23, -47.98)
CIE-LCHlch(46.13, 80.18, 323.24°)
OKLaboklab(56.36% 0.1696 -0.1341)
OKLCHoklch(56.36% 0.216 321.7)
XYZxyz(27.8304, 15.3621, 50.7794)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38BF #4BBF38
analogous
#6938BF #AC38BF #BF388E
triadic
#AC38BF #BFAC38 #38BFAC
tetradic
#AC38BF #BF6938 #4BBF38 #388EBF
square
#AC38BF #BF6938 #4BBF38 #388EBF
split-complementary
#AC38BF #8EBF38 #38BF69
monochromatic
#571C60 #812A90 #AC38BF #C263D1 #D492DF

Accessibility & contrast

On white

5.16
#AC38BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AC38BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38BF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38BF#FFFFFF#000000##FFFFFF
##AC38BF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#AE5178
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac38bf;
/* rgb */ color: rgb(172, 56, 191);
/* oklch */ color: oklch(56.4% 0.216 321.7);
Tailwind
colors: {
  custom: {
    50: '#c879d3',
    500: '#ac38bf',
    950: '#000000',
  },
}
SCSS
$custom: #ac38bf;
$custom-light: #c879d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38bf",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 291.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.21622,
    "h": 321.7
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

primary
#AC38BF
secondary
#92CA89
accent
#DE4A5F
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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