#AC5EA2#AC5EA2

#AC5EA2 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.6% C 0.134 H 332.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AC5EA2
RGBrgb(172, 94, 162)
HSLhsl(308, 32%, 52%)
HSVhsv(308, 45%, 67%)
CMYKcmyk(0%, 45.3%, 5.8%, 32.5%)
CIE-LABlab(51.14, 41.47, -23.14)
CIE-LCHlch(51.14, 47.49, 330.84°)
OKLaboklab(59.56% 0.1181 -0.0628)
OKLCHoklch(59.56% 0.134 332)
XYZxyz(27.5373, 19.3863, 36.4669)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5EA2 #5EAC68
analogous
#8F5EAC #AC5EA2 #AC5E7B
triadic
#AC5EA2 #A2AC5E #5EA2AC
tetradic
#AC5EA2 #AC8F5E #5EAC68 #5E7BAC
square
#AC5EA2 #AC8F5E #5EAC68 #5E7BAC
split-complementary
#AC5EA2 #7BAC5E #5EAC8F
monochromatic
#5F3159 #87467F #AC5EA2 #C186B9 #D6AFD1

Accessibility & contrast

On white

4.31
#AC5EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AC5EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5EA2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5EA2#FFFFFF#000000##000000
##AC5EA21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#717EA0
Tritanopia (blue-blind)
#B26378
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac5ea2;
/* rgb */ color: rgb(172, 94, 162);
/* oklch */ color: oklch(59.6% 0.134 332.0);
Tailwind
colors: {
  custom: {
    50: '#c68ebd',
    500: '#ac5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ea2;
$custom-light: #c68ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ea2",
  "rgb": {
    "r": 172,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 307.692,
    "s": 31.967,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5956,
    "c": 0.13373,
    "h": 332
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#AC5EA2
secondary
#A2C4A6
accent
#C86D60
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AC5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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