#AC47DF#AC47DF

#AC47DF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.9% C 0.227 H 312.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AC47DF
RGBrgb(172, 71, 223)
HSLhsl(280, 70%, 58%)
HSVhsv(280, 68%, 87%)
CMYKcmyk(22.9%, 68.2%, 0%, 12.5%)
CIE-LABlab(50.22, 64.49, -59.80)
CIE-LCHlch(50.22, 87.95, 317.16°)
OKLaboklab(59.92% 0.1519 -0.1688)
OKLCHoklch(59.92% 0.227 312)
XYZxyz(32.5833, 18.6057, 71.6726)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47DF #7ADF47
analogous
#6047DF #AC47DF #DF47C6
triadic
#AC47DF #DFAC47 #47DFAC
tetradic
#AC47DF #DF6047 #7ADF47 #47C6DF
square
#AC47DF #DF6047 #7ADF47 #47C6DF
split-complementary
#AC47DF #C6DF47 #47DF60
monochromatic
#6A1992 #8F22C6 #AC47DF #C47BE8 #DBAFF1

Accessibility & contrast

On white

4.45
#AC47DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AC47DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC47DF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47DF#FFFFFF#000000##000000
##AC47DF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#377ADC
Tritanopia (blue-blind)
#A6678E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac47df;
/* rgb */ color: rgb(172, 71, 223);
/* oklch */ color: oklch(59.9% 0.227 312.0);
Tailwind
colors: {
  custom: {
    50: '#c982ea',
    500: '#ac47df',
    950: '#000000',
  },
}
SCSS
$custom: #ac47df;
$custom-light: #c982ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47df",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 279.868,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.2271,
    "h": 312
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#AC47DF
secondary
#B7DFA2
accent
#ED3B77
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC47DF

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

Preview Lab → · Contrast checker → · Palette generator →

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