#AC38B1#AC38B1

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

Color values

HEX#AC38B1
RGBrgb(172, 56, 177)
HSLhsl(298, 52%, 46%)
HSVhsv(298, 68%, 69%)
CMYKcmyk(2.8%, 68.4%, 0%, 30.6%)
CIE-LABlab(45.32, 61.75, -41.06)
CIE-LCHlch(45.32, 74.15, 326.38°)
OKLaboklab(55.53% 0.1699 -0.1139)
OKLCHoklch(55.53% 0.205 326.2)
XYZxyz(26.3627, 14.7750, 43.0498)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38B1 #3DB138
analogous
#7038B1 #AC38B1 #B13879
triadic
#AC38B1 #B1AC38 #38B1AC
tetradic
#AC38B1 #B17038 #3DB138 #3879B1
square
#AC38B1 #B17038 #3DB138 #3879B1
split-complementary
#AC38B1 #79B138 #38B170
monochromatic
#521B54 #7F2983 #AC38B1 #C75BCB #D78ADA

Accessibility & contrast

On white

5.31
#AC38B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AC38B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38B1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38B1#FFFFFF#000000##FFFFFF
##AC38B11.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2062B4
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#B04A70
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac38b1;
/* rgb */ color: rgb(172, 56, 177);
/* oklch */ color: oklch(55.5% 0.205 326.2);
Tailwind
colors: {
  custom: {
    50: '#c879c9',
    500: '#ac38b1',
    950: '#000000',
  },
}
SCSS
$custom: #ac38b1;
$custom-light: #c879c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38b1",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 177
  },
  "hsl": {
    "h": 297.521,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5553,
    "c": 0.20453,
    "h": 326.2
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#AC38B1
secondary
#84C481
accent
#DB4C52
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AC38B1

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

Preview Lab → · Contrast checker → · Palette generator →

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