#AC27B2#AC27B2

#AC27B2 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.223 H 326.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AC27B2
RGBrgb(172, 39, 178)
HSLhsl(297, 64%, 43%)
HSVhsv(297, 78%, 70%)
CMYKcmyk(3.4%, 78.1%, 0%, 30.2%)
CIE-LABlab(43.42, 67.53, -44.69)
CIE-LCHlch(43.42, 80.98, 326.51°)
OKLaboklab(54.18% 0.1855 -0.1244)
OKLCHoklch(54.18% 0.223 326.2)
XYZxyz(25.7742, 13.4378, 43.3471)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27B2 #2DB227
analogous
#6627B2 #AC27B2 #B22773
triadic
#AC27B2 #B2AC27 #27B2AC
tetradic
#AC27B2 #B26627 #2DB227 #2773B2
square
#AC27B2 #B26627 #2DB227 #2773B2
split-complementary
#AC27B2 #73B227 #27B266
monochromatic
#4B114E #7B1C80 #AC27B2 #CF41D5 #DC73E0

Accessibility & contrast

On white

5.70
#AC27B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AC27B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27B2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27B2#FFFFFF#000000##FFFFFF
##AC27B21.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#496CAF
Tritanopia (blue-blind)
#B0416C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac27b2;
/* rgb */ color: rgb(172, 39, 178);
/* oklch */ color: oklch(54.2% 0.223 326.2);
Tailwind
colors: {
  custom: {
    50: '#c972ca',
    500: '#ac27b2',
    950: '#000000',
  },
}
SCSS
$custom: #ac27b2;
$custom-light: #c972ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27b2",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 297.41,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54184,
    "c": 0.22334,
    "h": 326.2
  },
  "luminance": 0.13436
}

Semantic roles & 50–950 ramp

primary
#AC27B2
secondary
#71C86D
accent
#E74148
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC27B2

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

Preview Lab → · Contrast checker → · Palette generator →

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