#AC5FCF#AC5FCF

#AC5FCF is a mid, vivid purple. Relative luminance 0.215; OKLCH L 62.0% C 0.177 H 314.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AC5FCF
RGBrgb(172, 95, 207)
HSLhsl(281, 54%, 59%)
HSVhsv(281, 54%, 81%)
CMYKcmyk(16.9%, 54.1%, 0%, 18.8%)
CIE-LABlab(53.45, 49.80, -45.54)
CIE-LCHlch(53.45, 67.49, 317.56°)
OKLaboklab(61.97% 0.1235 -0.1272)
OKLCHoklch(61.97% 0.177 314.1)
XYZxyz(32.3661, 21.4610, 61.4568)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FCF #82CF5F
analogous
#745FCF #AC5FCF #CF5FBA
triadic
#AC5FCF #CFAC5F #5FCFAC
tetradic
#AC5FCF #CF745F #82CF5F #5FBACF
square
#AC5FCF #CF745F #82CF5F #5FBACF
split-complementary
#AC5FCF #BACF5F #5FCF74
monochromatic
#6C298A #9138B9 #AC5FCF #C48EDD #DDBDEB

Accessibility & contrast

On white

3.97
#AC5FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#AC5FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FCF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FCF#FFFFFF#000000##000000
##AC5FCF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#5C82CC
Tritanopia (blue-blind)
#A9718E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ac5fcf;
/* rgb */ color: rgb(172, 95, 207);
/* oklch */ color: oklch(62.0% 0.177 314.1);
Tailwind
colors: {
  custom: {
    50: '#c78fde',
    500: '#ac5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fcf;
$custom-light: #c78fde;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fcf",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 281.25,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.17727,
    "h": 314.1
  },
  "luminance": 0.2146
}

Semantic roles & 50–950 ramp

primary
#AC5FCF
secondary
#BDDBAF
accent
#DD4B78
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AC5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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