#AC5FC9#AC5FC9

#AC5FC9 is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.6% C 0.171 H 316.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AC5FC9
RGBrgb(172, 95, 201)
HSLhsl(284, 50%, 58%)
HSVhsv(284, 53%, 79%)
CMYKcmyk(14.4%, 52.7%, 0%, 21.2%)
CIE-LABlab(53.14, 48.54, -42.61)
CIE-LCHlch(53.14, 64.59, 318.72°)
OKLaboklab(61.64% 0.1229 -0.1187)
OKLCHoklch(61.64% 0.171 316)
XYZxyz(31.6465, 21.1731, 57.6668)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FC9 #7CC95F
analogous
#775FC9 #AC5FC9 #C95FB1
triadic
#AC5FC9 #C9AC5F #5FC9AC
tetradic
#AC5FC9 #C9775F #7CC95F #5FB1C9
square
#AC5FC9 #C9775F #7CC95F #5FB1C9
split-complementary
#AC5FC9 #B1C95F #5FC977
monochromatic
#6A2C82 #903BB0 #AC5FC9 #C48DD8 #DBBBE8

Accessibility & contrast

On white

4.01
#AC5FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AC5FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FC9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FC9#FFFFFF#000000##000000
##AC5FC91.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ACD
Deuteranopia (green-blind)
#6081C6
Tritanopia (blue-blind)
#AB6F8B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac5fc9;
/* rgb */ color: rgb(172, 95, 201);
/* oklch */ color: oklch(61.6% 0.171 316.0);
Tailwind
colors: {
  custom: {
    50: '#c78fda',
    500: '#ac5fc9',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fc9;
$custom-light: #c78fda;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fc9",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 283.585,
    "s": 49.533,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61635,
    "c": 0.17088,
    "h": 316
  },
  "luminance": 0.21172
}

Semantic roles & 50–950 ramp

primary
#AC5FC9
secondary
#B8D7AD
accent
#D94F75
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AC5FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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