#AC47E2#AC47E2

#AC47E2 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.1% C 0.230 H 311.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AC47E2
RGBrgb(172, 71, 226)
HSLhsl(279, 73%, 58%)
HSVhsv(279, 69%, 89%)
CMYKcmyk(23.9%, 68.6%, 0%, 11.4%)
CIE-LABlab(50.42, 65.12, -61.19)
CIE-LCHlch(50.42, 89.36, 316.78°)
OKLaboklab(60.12% 0.1516 -0.1729)
OKLCHoklch(60.12% 0.23 311.2)
XYZxyz(32.9914, 18.7689, 73.8216)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47E2 #7DE247
analogous
#5E47E2 #AC47E2 #E247CA
triadic
#AC47E2 #E2AC47 #47E2AC
tetradic
#AC47E2 #E25E47 #7DE247 #47CAE2
square
#AC47E2 #E25E47 #7DE247 #47CAE2
split-complementary
#AC47E2 #CAE247 #47E25E
monochromatic
#6B1897 #9020CC #AC47E2 #C47CEA #DCB1F3

Accessibility & contrast

On white

4.42
#AC47E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AC47E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC47E2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47E2#FFFFFF#000000##000000
##AC47E21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#327ADF
Tritanopia (blue-blind)
#A5688F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac47e2;
/* rgb */ color: rgb(172, 71, 226);
/* oklch */ color: oklch(60.1% 0.230 311.2);
Tailwind
colors: {
  custom: {
    50: '#c982ec',
    500: '#ac47e2',
    950: '#000000',
  },
}
SCSS
$custom: #ac47e2;
$custom-light: #c982ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47e2",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 279.097,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60123,
    "c": 0.22995,
    "h": 311.2
  },
  "luminance": 0.18768
}

Semantic roles & 50–950 ramp

primary
#AC47E2
secondary
#B9E1A4
accent
#EF3878
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC47E2

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

Preview Lab → · Contrast checker → · Palette generator →

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