#AC5FC0#AC5FC0

#AC5FC0 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.2% C 0.161 H 319.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AC5FC0
RGBrgb(172, 95, 192)
HSLhsl(288, 43%, 56%)
HSVhsv(288, 51%, 75%)
CMYKcmyk(10.4%, 50.5%, 0%, 24.7%)
CIE-LABlab(52.69, 46.69, -38.16)
CIE-LCHlch(52.69, 60.30, 320.74°)
OKLaboklab(61.16% 0.122 -0.1058)
OKLCHoklch(61.16% 0.161 319.1)
XYZxyz(30.6187, 20.7620, 52.2536)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FC0 #73C05F
analogous
#7C5FC0 #AC5FC0 #C05FA4
triadic
#AC5FC0 #C0AC5F #5FC0AC
tetradic
#AC5FC0 #C07C5F #73C05F #5FA4C0
square
#AC5FC0 #C07C5F #73C05F #5FA4C0
split-complementary
#AC5FC0 #A4C05F #5FC07C
monochromatic
#672F76 #8E40A2 #AC5FC0 #C38BD1 #DAB7E3

Accessibility & contrast

On white

4.08
#AC5FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AC5FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FC0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FC0#FFFFFF#000000##000000
##AC5FC01.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C3
Deuteranopia (green-blind)
#6580BD
Tritanopia (blue-blind)
#AC6D87
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac5fc0;
/* rgb */ color: rgb(172, 95, 192);
/* oklch */ color: oklch(61.2% 0.161 319.1);
Tailwind
colors: {
  custom: {
    50: '#c78fd3',
    500: '#ac5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fc0;
$custom-light: #c78fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fc0",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 287.629,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61156,
    "c": 0.16143,
    "h": 319.1
  },
  "luminance": 0.20761
}

Semantic roles & 50–950 ramp

primary
#AC5FC0
secondary
#B2D1A9
accent
#D3556F
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83

Preview Lab

Preview with #AC5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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