#AC5ECA#AC5ECA

#AC5ECA is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.5% C 0.174 H 315.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AC5ECA
RGBrgb(172, 94, 202)
HSLhsl(283, 50%, 58%)
HSVhsv(283, 53%, 79%)
CMYKcmyk(14.9%, 53.5%, 0%, 20.8%)
CIE-LABlab(52.99, 49.26, -43.41)
CIE-LCHlch(52.99, 65.66, 318.61°)
OKLaboklab(61.55% 0.1244 -0.121)
OKLCHoklch(61.55% 0.174 315.8)
XYZxyz(31.6750, 21.0413, 58.2585)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5ECA #7CCA5E
analogous
#765ECA #AC5ECA #CA5EB2
triadic
#AC5ECA #CAAC5E #5ECAAC
tetradic
#AC5ECA #CA765E #7CCA5E #5EB2CA
square
#AC5ECA #CA765E #7CCA5E #5EB2CA
split-complementary
#AC5ECA #B2CA5E #5ECA76
monochromatic
#6A2B83 #903AB1 #AC5ECA #C48CD9 #DBBAE8

Accessibility & contrast

On white

4.03
#AC5ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AC5ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5ECA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5ECA#FFFFFF#000000##000000
##AC5ECA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACE
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#AA6F8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac5eca;
/* rgb */ color: rgb(172, 94, 202);
/* oklch */ color: oklch(61.5% 0.174 315.8);
Tailwind
colors: {
  custom: {
    50: '#c78fda',
    500: '#ac5eca',
    950: '#000000',
  },
}
SCSS
$custom: #ac5eca;
$custom-light: #c78fda;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5eca",
  "rgb": {
    "r": 172,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 283.333,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61546,
    "c": 0.17353,
    "h": 315.8
  },
  "luminance": 0.2104
}

Semantic roles & 50–950 ramp

primary
#AC5ECA
secondary
#B8D7AC
accent
#DA4E75
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #AC5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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