#AC47EE#AC47EE

#AC47EE is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.9% C 0.241 H 308.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AC47EE
RGBrgb(172, 71, 238)
HSLhsl(276, 83%, 61%)
HSVhsv(276, 70%, 93%)
CMYKcmyk(27.7%, 70.2%, 0%, 6.7%)
CIE-LABlab(51.21, 67.64, -66.67)
CIE-LCHlch(51.21, 94.98, 315.41°)
OKLaboklab(60.94% 0.1502 -0.189)
OKLCHoklch(60.94% 0.241 308.5)
XYZxyz(34.6959, 19.4507, 82.7989)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47EE #89EE47
analogous
#5847EE #AC47EE #EE47DD
triadic
#AC47EE #EEAC47 #47EEAC
tetradic
#AC47EE #EE5847 #89EE47 #47DDEE
square
#AC47EE #EE5847 #89EE47 #47DDEE
split-complementary
#AC47EE #DDEE47 #47EE58
monochromatic
#6E10AB #9115E3 #AC47EE #C57FF3 #DFB7F8

Accessibility & contrast

On white

4.29
#AC47EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AC47EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC47EE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47EE#FFFFFF#000000##000000
##AC47EE1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#1B7BEA
Tritanopia (blue-blind)
#A26D96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac47ee;
/* rgb */ color: rgb(172, 71, 238);
/* oklch */ color: oklch(60.9% 0.241 308.5);
Tailwind
colors: {
  custom: {
    50: '#ca82f4',
    500: '#ac47ee',
    950: '#000000',
  },
}
SCSS
$custom: #ac47ee;
$custom-light: #ca82f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47ee",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 238
  },
  "hsl": {
    "h": 276.287,
    "s": 83.085,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.24138,
    "h": 308.5
  },
  "luminance": 0.1945
}

Semantic roles & 50–950 ramp

primary
#AC47EE
secondary
#C2E8A9
accent
#E0065C
background
#FCF8FF
surface
#F9EFFE
border
#D2CAD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #AC47EE

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

Preview Lab → · Contrast checker → · Palette generator →

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