#AC47D2#AC47D2

#AC47D2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.215 H 315.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AC47D2
RGBrgb(172, 71, 210)
HSLhsl(284, 61%, 55%)
HSVhsv(284, 66%, 82%)
CMYKcmyk(18.1%, 66.2%, 0%, 17.6%)
CIE-LABlab(49.41, 61.84, -53.69)
CIE-LCHlch(49.41, 81.90, 319.03°)
OKLaboklab(59.08% 0.1529 -0.1509)
OKLCHoklch(59.08% 0.215 315.4)
XYZxyz(30.8975, 17.9314, 62.7938)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47D2 #6DD247
analogous
#6647D2 #AC47D2 #D247B3
triadic
#AC47D2 #D2AC47 #47D2AC
tetradic
#AC47D2 #D26647 #6DD247 #47B3D2
square
#AC47D2 #D26647 #6DD247 #47B3D2
split-complementary
#AC47D2 #B3D247 #47D266
monochromatic
#651F7F #8C2BB1 #AC47D2 #C278DE #D8A9EA

Accessibility & contrast

On white

4.58
#AC47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AC47D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC47D2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47D2#FFFFFF#000000##000000
##AC47D21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#4578CF
Tritanopia (blue-blind)
#A96287
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac47d2;
/* rgb */ color: rgb(172, 71, 210);
/* oklch */ color: oklch(59.1% 0.215 315.4);
Tailwind
colors: {
  custom: {
    50: '#c881e0',
    500: '#ac47d2',
    950: '#000000',
  },
}
SCSS
$custom: #ac47d2;
$custom-light: #c881e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47d2",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 283.597,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59084,
    "c": 0.21479,
    "h": 315.4
  },
  "luminance": 0.1793
}

Semantic roles & 50–950 ramp

primary
#AC47D2
secondary
#ADD89D
accent
#E44470
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AC47D2

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

Preview Lab → · Contrast checker → · Palette generator →

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