#AC47DE#AC47DE

#AC47DE is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.226 H 312.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AC47DE
RGBrgb(172, 71, 222)
HSLhsl(280, 70%, 57%)
HSVhsv(280, 68%, 87%)
CMYKcmyk(22.5%, 68%, 0%, 12.9%)
CIE-LABlab(50.16, 64.29, -59.34)
CIE-LCHlch(50.16, 87.49, 317.29°)
OKLaboklab(59.86% 0.152 -0.1674)
OKLCHoklch(59.86% 0.226 312.2)
XYZxyz(32.4489, 18.5519, 70.9646)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47DE #79DE47
analogous
#6047DE #AC47DE #DE47C5
triadic
#AC47DE #DEAC47 #47DEAC
tetradic
#AC47DE #DE6047 #79DE47 #47C5DE
square
#AC47DE #DE6047 #79DE47 #47C5DE
split-complementary
#AC47DE #C5DE47 #47DE60
monochromatic
#691A91 #8F23C5 #AC47DE #C37BE7 #DBAFF1

Accessibility & contrast

On white

4.46
#AC47DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AC47DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC47DE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47DE#FFFFFF#000000##000000
##AC47DE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#3879DB
Tritanopia (blue-blind)
#A6668D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac47de;
/* rgb */ color: rgb(172, 71, 222);
/* oklch */ color: oklch(59.9% 0.226 312.2);
Tailwind
colors: {
  custom: {
    50: '#c982e9',
    500: '#ac47de',
    950: '#000000',
  },
}
SCSS
$custom: #ac47de;
$custom-light: #c982e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47de",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 280.132,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59857,
    "c": 0.22615,
    "h": 312.2
  },
  "luminance": 0.18551
}

Semantic roles & 50–950 ramp

primary
#AC47DE
secondary
#B6DFA2
accent
#EC3B76
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC47DE

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

Preview Lab → · Contrast checker → · Palette generator →

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