#AC47DB#AC47DB

#AC47DB is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.223 H 313.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AC47DB
RGBrgb(172, 71, 219)
HSLhsl(281, 67%, 57%)
HSVhsv(281, 68%, 86%)
CMYKcmyk(21.5%, 67.6%, 0%, 14.1%)
CIE-LABlab(49.97, 63.67, -57.94)
CIE-LCHlch(49.97, 86.08, 317.70°)
OKLaboklab(59.66% 0.1523 -0.1633)
OKLCHoklch(59.66% 0.223 313)
XYZxyz(32.0504, 18.3925, 68.8659)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47DB #76DB47
analogous
#6247DB #AC47DB #DB47C0
triadic
#AC47DB #DBAC47 #47DBAC
tetradic
#AC47DB #DB6247 #76DB47 #47C0DB
square
#AC47DB #DB6247 #76DB47 #47C0DB
split-complementary
#AC47DB #C0DB47 #47DB62
monochromatic
#681B8C #8E25BF #AC47DB #C37AE5 #DAADEF

Accessibility & contrast

On white

4.49
#AC47DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AC47DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC47DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47DB#FFFFFF#000000##000000
##AC47DB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#A7658C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac47db;
/* rgb */ color: rgb(172, 71, 219);
/* oklch */ color: oklch(59.7% 0.223 313.0);
Tailwind
colors: {
  custom: {
    50: '#c982e7',
    500: '#ac47db',
    950: '#000000',
  },
}
SCSS
$custom: #ac47db;
$custom-light: #c982e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47db",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 280.946,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.2233,
    "h": 313
  },
  "luminance": 0.18392
}

Semantic roles & 50–950 ramp

primary
#AC47DB
secondary
#B4DDA1
accent
#EA3E74
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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