#AC5EC0#AC5EC0

#AC5EC0 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.0% C 0.163 H 319.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AC5EC0
RGBrgb(172, 94, 192)
HSLhsl(288, 44%, 56%)
HSVhsv(288, 51%, 75%)
CMYKcmyk(10.4%, 51%, 0%, 24.7%)
CIE-LABlab(52.49, 47.21, -38.47)
CIE-LCHlch(52.49, 60.90, 320.82°)
OKLaboklab(61.01% 0.1234 -0.1067)
OKLCHoklch(61.01% 0.163 319.1)
XYZxyz(30.5292, 20.5830, 52.2237)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5EC0 #72C05E
analogous
#7B5EC0 #AC5EC0 #C05EA3
triadic
#AC5EC0 #C0AC5E #5EC0AC
tetradic
#AC5EC0 #C07B5E #72C05E #5EA3C0
square
#AC5EC0 #C07B5E #72C05E #5EA3C0
split-complementary
#AC5EC0 #A3C05E #5EC07B
monochromatic
#672E76 #8E3FA2 #AC5EC0 #C38AD1 #D9B6E2

Accessibility & contrast

On white

4.10
#AC5EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AC5EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5EC0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5EC0#FFFFFF#000000##000000
##AC5EC01.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C3
Deuteranopia (green-blind)
#6480BD
Tritanopia (blue-blind)
#AC6C86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac5ec0;
/* rgb */ color: rgb(172, 94, 192);
/* oklch */ color: oklch(61.0% 0.163 319.1);
Tailwind
colors: {
  custom: {
    50: '#c78ed3',
    500: '#ac5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ec0;
$custom-light: #c78ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ec0",
  "rgb": {
    "r": 172,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 287.755,
    "s": 43.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61009,
    "c": 0.16308,
    "h": 319.1
  },
  "luminance": 0.20582
}

Semantic roles & 50–950 ramp

primary
#AC5EC0
secondary
#B1D1A9
accent
#D3546E
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AC5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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