#AC27B3#AC27B3

#AC27B3 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.224 H 325.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AC27B3
RGBrgb(172, 39, 179)
HSLhsl(297, 64%, 43%)
HSVhsv(297, 78%, 70%)
CMYKcmyk(3.9%, 78.2%, 0%, 29.8%)
CIE-LABlab(43.48, 67.70, -45.18)
CIE-LCHlch(43.48, 81.39, 326.28°)
OKLaboklab(54.25% 0.1855 -0.1258)
OKLCHoklch(54.25% 0.224 325.8)
XYZxyz(25.8749, 13.4782, 43.8778)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27B3 #2EB327
analogous
#6627B3 #AC27B3 #B32774
triadic
#AC27B3 #B3AC27 #27B3AC
tetradic
#AC27B3 #B36627 #2EB327 #2774B3
square
#AC27B3 #B36627 #2EB327 #2774B3
split-complementary
#AC27B3 #74B327 #27B366
monochromatic
#4B114E #7C1C81 #AC27B3 #CE41D6 #DB74E1

Accessibility & contrast

On white

5.68
#AC27B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AC27B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27B3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27B3#FFFFFF#000000##FFFFFF
##AC27B31.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#B0416D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac27b3;
/* rgb */ color: rgb(172, 39, 179);
/* oklch */ color: oklch(54.2% 0.224 325.8);
Tailwind
colors: {
  custom: {
    50: '#c972ca',
    500: '#ac27b3',
    950: '#000000',
  },
}
SCSS
$custom: #ac27b3;
$custom-light: #c972ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27b3",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 297,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.22409,
    "h": 325.8
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#AC27B3
secondary
#72C86E
accent
#E74149
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC27B3

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

Preview Lab → · Contrast checker → · Palette generator →

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