#AC4EC2#AC4EC2

#AC4EC2 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.0% C 0.190 H 319.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AC4EC2
RGBrgb(172, 78, 194)
HSLhsl(289, 49%, 53%)
HSVhsv(289, 60%, 76%)
CMYKcmyk(11.3%, 59.8%, 0%, 23.9%)
CIE-LABlab(49.64, 55.52, -44.13)
CIE-LCHlch(49.64, 70.92, 321.52°)
OKLaboklab(58.95% 0.1447 -0.123)
OKLCHoklch(58.95% 0.19 319.6)
XYZxyz(29.4740, 18.1158, 52.9726)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4EC2 #64C24E
analogous
#724EC2 #AC4EC2 #C24E9E
triadic
#AC4EC2 #C2AC4E #4EC2AC
tetradic
#AC4EC2 #C2724E #64C24E #4E9EC2
square
#AC4EC2 #C2724E #64C24E #4E9EC2
split-complementary
#AC4EC2 #9EC24E #4EC272
monochromatic
#61266F #89369D #AC4EC2 #C17CD2 #D7A9E1

Accessibility & contrast

On white

4.54
#AC4EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AC4EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4EC2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4EC2#FFFFFF#000000##000000
##AC4EC21.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3270C6
Deuteranopia (green-blind)
#5679BF
Tritanopia (blue-blind)
#AD6081
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ac4ec2;
/* rgb */ color: rgb(172, 78, 194);
/* oklch */ color: oklch(59.0% 0.190 319.6);
Tailwind
colors: {
  custom: {
    50: '#c885d5',
    500: '#ac4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ec2;
$custom-light: #c885d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ec2",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 288.621,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5895,
    "c": 0.18993,
    "h": 319.6
  },
  "luminance": 0.18114
}

Semantic roles & 50–950 ramp

primary
#AC4EC2
secondary
#A6CF9D
accent
#D85069
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AC4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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