#AC38BD#AC38BD

#AC38BD is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.215 H 322.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AC38BD
RGBrgb(172, 56, 189)
HSLhsl(292, 54%, 48%)
HSVhsv(292, 70%, 74%)
CMYKcmyk(9%, 70.4%, 0%, 25.9%)
CIE-LABlab(46.01, 63.87, -47.01)
CIE-LCHlch(46.01, 79.30, 323.65°)
OKLaboklab(56.24% 0.1697 -0.1312)
OKLCHoklch(56.24% 0.215 322.3)
XYZxyz(27.6118, 15.2747, 49.6282)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38BD #49BD38
analogous
#6938BD #AC38BD #BD388B
triadic
#AC38BD #BDAC38 #38BDAC
tetradic
#AC38BD #BD6938 #49BD38 #388BBD
square
#AC38BD #BD6938 #49BD38 #388BBD
split-complementary
#AC38BD #8BBD38 #38BD69
monochromatic
#561C5F #812A8E #AC38BD #C262D0 #D591DE

Accessibility & contrast

On white

5.18
#AC38BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AC38BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38BD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38BD#FFFFFF#000000##FFFFFF
##AC38BD1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0165C1
Deuteranopia (green-blind)
#4B71BA
Tritanopia (blue-blind)
#AE5077
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac38bd;
/* rgb */ color: rgb(172, 56, 189);
/* oklch */ color: oklch(56.2% 0.215 322.3);
Tailwind
colors: {
  custom: {
    50: '#c879d1',
    500: '#ac38bd',
    950: '#000000',
  },
}
SCSS
$custom: #ac38bd;
$custom-light: #c879d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38bd",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 292.331,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5624,
    "c": 0.21453,
    "h": 322.3
  },
  "luminance": 0.15273
}

Semantic roles & 50–950 ramp

primary
#AC38BD
secondary
#90C987
accent
#DE4A5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AC38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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