#AC4BC7#AC4BC7

#AC4BC7 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.9% C 0.199 H 318.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AC4BC7
RGBrgb(172, 75, 199)
HSLhsl(287, 53%, 54%)
HSVhsv(287, 62%, 78%)
CMYKcmyk(13.6%, 62.3%, 0%, 22%)
CIE-LABlab(49.41, 57.88, -47.38)
CIE-LCHlch(49.41, 74.80, 320.70°)
OKLaboklab(58.87% 0.1485 -0.1325)
OKLCHoklch(58.87% 0.199 318.3)
XYZxyz(29.8367, 17.9276, 55.9105)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4BC7 #66C74B
analogous
#6E4BC7 #AC4BC7 #C74BA4
triadic
#AC4BC7 #C7AC4B #4BC7AC
tetradic
#AC4BC7 #C76E4B #66C74B #4BA4C7
square
#AC4BC7 #C76E4B #66C74B #4BA4C7
split-complementary
#AC4BC7 #A4C74B #4BC76E
monochromatic
#622474 #8A32A2 #AC4BC7 #C27AD6 #D7A8E4

Accessibility & contrast

On white

4.58
#AC4BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AC4BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4BC7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4BC7#FFFFFF#000000##000000
##AC4BC71.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#276FCB
Deuteranopia (green-blind)
#5179C4
Tritanopia (blue-blind)
#AC6082
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac4bc7;
/* rgb */ color: rgb(172, 75, 199);
/* oklch */ color: oklch(58.9% 0.199 318.3);
Tailwind
colors: {
  custom: {
    50: '#c883d8',
    500: '#ac4bc7',
    950: '#000000',
  },
}
SCSS
$custom: #ac4bc7;
$custom-light: #c883d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4bc7",
  "rgb": {
    "r": 172,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 286.935,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58874,
    "c": 0.19899,
    "h": 318.3
  },
  "luminance": 0.17926
}

Semantic roles & 50–950 ramp

primary
#AC4BC7
secondary
#A8D19C
accent
#DC4C6B
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AC4BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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