#AC48B2#AC48B2

#AC48B2 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.3% C 0.184 H 325.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AC48B2
RGBrgb(172, 72, 178)
HSLhsl(297, 42%, 49%)
HSVhsv(297, 60%, 70%)
CMYKcmyk(3.4%, 59.6%, 0%, 30.2%)
CIE-LABlab(47.78, 55.25, -37.76)
CIE-LCHlch(47.78, 66.92, 325.65°)
OKLaboklab(57.32% 0.1513 -0.1045)
OKLCHoklch(57.32% 0.184 325.4)
XYZxyz(27.3659, 16.6213, 43.8777)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC48B2 #4EB248
analogous
#7748B2 #AC48B2 #B24883
triadic
#AC48B2 #B2AC48 #48B2AC
tetradic
#AC48B2 #B27748 #4EB248 #4883B2
square
#AC48B2 #B27748 #4EB248 #4883B2
split-complementary
#AC48B2 #83B248 #48B277
monochromatic
#58255B #823686 #AC48B2 #C171C6 #D49DD7

Accessibility & contrast

On white

4.86
#AC48B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AC48B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC48B2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC48B2#FFFFFF#000000##FFFFFF
##AC48B21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#5C76AF
Tritanopia (blue-blind)
#B05676
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac48b2;
/* rgb */ color: rgb(172, 72, 178);
/* oklch */ color: oklch(57.3% 0.184 325.4);
Tailwind
colors: {
  custom: {
    50: '#c781c9',
    500: '#ac48b2',
    950: '#000000',
  },
}
SCSS
$custom: #ac48b2;
$custom-light: #c781c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac48b2",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 296.604,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57324,
    "c": 0.18387,
    "h": 325.4
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#AC48B2
secondary
#95C492
accent
#D2565D
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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