#AC5EB2#AC5EB2

#AC5EB2 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.3% C 0.149 H 324.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AC5EB2
RGBrgb(172, 94, 178)
HSLhsl(296, 35%, 53%)
HSVhsv(296, 47%, 70%)
CMYKcmyk(3.4%, 47.2%, 0%, 30.2%)
CIE-LABlab(51.83, 44.44, -31.41)
CIE-LCHlch(51.83, 54.42, 324.75°)
OKLaboklab(60.3% 0.1213 -0.0863)
OKLCHoklch(60.3% 0.149 324.6)
XYZxyz(29.0511, 19.9918, 44.4394)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5EB2 #64B25E
analogous
#825EB2 #AC5EB2 #B25E8E
triadic
#AC5EB2 #B2AC5E #5EB2AC
tetradic
#AC5EB2 #B2825E #64B25E #5E8EB2
square
#AC5EB2 #B2825E #64B25E #5E8EB2
split-complementary
#AC5EB2 #8EB25E #5EB282
monochromatic
#613065 #89448F #AC5EB2 #C187C6 #D7B1DA

Accessibility & contrast

On white

4.20
#AC5EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AC5EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5EB2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5EB2#FFFFFF#000000##000000
##AC5EB21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#AF6880
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac5eb2;
/* rgb */ color: rgb(172, 94, 178);
/* oklch */ color: oklch(60.3% 0.149 324.6);
Tailwind
colors: {
  custom: {
    50: '#c68ec9',
    500: '#ac5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5eb2;
$custom-light: #c68ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5eb2",
  "rgb": {
    "r": 172,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 295.714,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60302,
    "c": 0.14889,
    "h": 324.6
  },
  "luminance": 0.1999
}

Semantic roles & 50–950 ramp

primary
#AC5EB2
secondary
#A6C8A4
accent
#CB5C64
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AC5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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