#AC47E6#AC47E6

#AC47E6 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.4% C 0.234 H 310.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AC47E6
RGBrgb(172, 71, 230)
HSLhsl(278, 76%, 59%)
HSVhsv(278, 69%, 90%)
CMYKcmyk(25.2%, 69.1%, 0%, 9.8%)
CIE-LABlab(50.68, 65.95, -63.03)
CIE-LCHlch(50.68, 91.23, 316.30°)
OKLaboklab(60.39% 0.1512 -0.1783)
OKLCHoklch(60.39% 0.234 310.3)
XYZxyz(33.5467, 18.9910, 76.7460)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47E6 #81E647
analogous
#5D47E6 #AC47E6 #E647D1
triadic
#AC47E6 #E6AC47 #47E6AC
tetradic
#AC47E6 #E65D47 #81E647 #47D1E6
square
#AC47E6 #E65D47 #81E647 #47D1E6
split-complementary
#AC47E6 #D1E647 #47E65D
monochromatic
#6C159D #911DD3 #AC47E6 #C47DED #DDB3F5

Accessibility & contrast

On white

4.38
#AC47E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AC47E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC47E6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47E6#FFFFFF#000000##000000
##AC47E61.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#A46A92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac47e6;
/* rgb */ color: rgb(172, 71, 230);
/* oklch */ color: oklch(60.4% 0.234 310.3);
Tailwind
colors: {
  custom: {
    50: '#c982ef',
    500: '#ac47e6',
    950: '#000000',
  },
}
SCSS
$custom: #ac47e6;
$custom-light: #c982ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47e6",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 278.113,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60392,
    "c": 0.23376,
    "h": 310.3
  },
  "luminance": 0.1899
}

Semantic roles & 50–950 ramp

primary
#AC47E6
secondary
#BCE4A5
accent
#F3357A
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC47E6

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

Preview Lab → · Contrast checker → · Palette generator →

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