#AC3ECC#AC3ECC

#AC3ECC is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.220 H 317.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AC3ECC
RGBrgb(172, 62, 204)
HSLhsl(286, 58%, 52%)
HSVhsv(286, 70%, 80%)
CMYKcmyk(15.7%, 69.6%, 0%, 20%)
CIE-LABlab(47.72, 64.37, -52.96)
CIE-LCHlch(47.72, 83.36, 320.56°)
OKLaboklab(57.76% 0.1628 -0.1487)
OKLCHoklch(57.76% 0.22 317.6)
XYZxyz(29.6334, 16.5768, 58.7537)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3ECC #5ECC3E
analogous
#653ECC #AC3ECC #CC3EA5
triadic
#AC3ECC #CCAC3E #3ECCAC
tetradic
#AC3ECC #CC653E #5ECC3E #3EA5CC
square
#AC3ECC #CC653E #5ECC3E #3EA5CC
split-complementary
#AC3ECC #A5CC3E #3ECC65
monochromatic
#5F1E72 #872BA2 #AC3ECC #C16ED9 #D69FE6

Accessibility & contrast

On white

4.87
#AC3ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AC3ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3ECC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3ECC#FFFFFF#000000##FFFFFF
##AC3ECC1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#AB5A81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac3ecc;
/* rgb */ color: rgb(172, 62, 204);
/* oklch */ color: oklch(57.8% 0.220 317.6);
Tailwind
colors: {
  custom: {
    50: '#c97cdc',
    500: '#ac3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #ac3ecc;
$custom-light: #c97cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3ecc",
  "rgb": {
    "r": 172,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 286.479,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57755,
    "c": 0.22047,
    "h": 317.6
  },
  "luminance": 0.16576
}

Semantic roles & 50–950 ramp

primary
#AC3ECC
secondary
#A2D294
accent
#E14669
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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