#AC4ECB#AC4ECB

#AC4ECB is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.5% C 0.199 H 316.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AC4ECB
RGBrgb(172, 78, 203)
HSLhsl(285, 55%, 55%)
HSVhsv(285, 62%, 80%)
CMYKcmyk(15.3%, 61.6%, 0%, 20.4%)
CIE-LABlab(50.14, 57.30, -48.52)
CIE-LCHlch(50.14, 75.09, 319.74°)
OKLaboklab(59.47% 0.1449 -0.1358)
OKLCHoklch(59.47% 0.199 316.9)
XYZxyz(30.5156, 18.5324, 58.4580)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4ECB #6DCB4E
analogous
#6D4ECB #AC4ECB #CB4EAB
triadic
#AC4ECB #CBAC4E #4ECBAC
tetradic
#AC4ECB #CB6D4E #6DCB4E #4EABCB
square
#AC4ECB #CB6D4E #6DCB4E #4EABCB
split-complementary
#AC4ECB #ABCB4E #4ECB6D
monochromatic
#65247B #8C32AA #AC4ECB #C27DD9 #D8ADE7

Accessibility & contrast

On white

4.46
#AC4ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AC4ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4ECB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4ECB#FFFFFF#000000##000000
##AC4ECB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2771CF
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#AB6485
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac4ecb;
/* rgb */ color: rgb(172, 78, 203);
/* oklch */ color: oklch(59.5% 0.199 316.9);
Tailwind
colors: {
  custom: {
    50: '#c885db',
    500: '#ac4ecb',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ecb;
$custom-light: #c885db;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ecb",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 285.12,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59474,
    "c": 0.19861,
    "h": 316.9
  },
  "luminance": 0.18531
}

Semantic roles & 50–950 ramp

primary
#AC4ECB
secondary
#ADD5A0
accent
#DE4A6F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AC4ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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