#AC38B2#AC38B2

#AC38B2 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.205 H 325.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AC38B2
RGBrgb(172, 56, 178)
HSLhsl(297, 52%, 46%)
HSVhsv(297, 69%, 70%)
CMYKcmyk(3.4%, 68.5%, 0%, 30.2%)
CIE-LABlab(45.38, 61.92, -41.56)
CIE-LCHlch(45.38, 74.58, 326.13°)
OKLaboklab(55.59% 0.1699 -0.1154)
OKLCHoklch(55.59% 0.205 325.8)
XYZxyz(26.4628, 14.8151, 43.5766)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38B2 #3EB238
analogous
#6F38B2 #AC38B2 #B2387B
triadic
#AC38B2 #B2AC38 #38B2AC
tetradic
#AC38B2 #B26F38 #3EB238 #387BB2
square
#AC38B2 #B26F38 #3EB238 #387BB2
split-complementary
#AC38B2 #7BB238 #38B26F
monochromatic
#521B55 #7F2983 #AC38B2 #C65CCC #D68ADA

Accessibility & contrast

On white

5.30
#AC38B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AC38B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38B2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38B2#FFFFFF#000000##FFFFFF
##AC38B21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B5
Deuteranopia (green-blind)
#5270AF
Tritanopia (blue-blind)
#B04B71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac38b2;
/* rgb */ color: rgb(172, 56, 178);
/* oklch */ color: oklch(55.6% 0.205 325.8);
Tailwind
colors: {
  custom: {
    50: '#c879c9',
    500: '#ac38b2',
    950: '#000000',
  },
}
SCSS
$custom: #ac38b2;
$custom-light: #c879c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38b2",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 297.049,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.20535,
    "h": 325.8
  },
  "luminance": 0.14813
}

Semantic roles & 50–950 ramp

primary
#AC38B2
secondary
#85C581
accent
#DC4C53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AC38B2

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

Preview Lab → · Contrast checker → · Palette generator →

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