#AC47E4#AC47E4

#AC47E4 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.3% C 0.232 H 310.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AC47E4
RGBrgb(172, 71, 228)
HSLhsl(279, 74%, 59%)
HSVhsv(279, 69%, 89%)
CMYKcmyk(24.6%, 68.9%, 0%, 10.6%)
CIE-LABlab(50.55, 65.53, -62.11)
CIE-LCHlch(50.55, 90.29, 316.54°)
OKLaboklab(60.26% 0.1514 -0.1756)
OKLCHoklch(60.26% 0.232 310.8)
XYZxyz(33.2674, 18.8793, 75.2753)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47E4 #7FE447
analogous
#5D47E4 #AC47E4 #E447CD
triadic
#AC47E4 #E4AC47 #47E4AC
tetradic
#AC47E4 #E45D47 #7FE447 #47CDE4
square
#AC47E4 #E45D47 #7FE447 #47CDE4
split-complementary
#AC47E4 #CDE447 #47E45D
monochromatic
#6B179A #901ECF #AC47E4 #C47CEC #DCB2F4

Accessibility & contrast

On white

4.40
#AC47E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AC47E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC47E4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47E4#FFFFFF#000000##000000
##AC47E41.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#2F7AE1
Tritanopia (blue-blind)
#A56991
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac47e4;
/* rgb */ color: rgb(172, 71, 228);
/* oklch */ color: oklch(60.3% 0.232 310.8);
Tailwind
colors: {
  custom: {
    50: '#c982ed',
    500: '#ac47e4',
    950: '#000000',
  },
}
SCSS
$custom: #ac47e4;
$custom-light: #c982ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47e4",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 278.599,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60257,
    "c": 0.23185,
    "h": 310.8
  },
  "luminance": 0.18879
}

Semantic roles & 50–950 ramp

primary
#AC47E4
secondary
#BBE2A4
accent
#F13779
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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