#AC4CDF#AC4CDF

#AC4CDF is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.5% C 0.221 H 311.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AC4CDF
RGBrgb(172, 76, 223)
HSLhsl(279, 70%, 59%)
HSVhsv(279, 66%, 87%)
CMYKcmyk(22.9%, 65.9%, 0%, 12.5%)
CIE-LABlab(51.00, 62.33, -58.55)
CIE-LCHlch(51.00, 85.52, 316.79°)
OKLaboklab(60.48% 0.1466 -0.1652)
OKLCHoklch(60.48% 0.221 311.6)
XYZxyz(32.9145, 19.2681, 71.7830)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4CDF #7FDF4C
analogous
#624CDF #AC4CDF #DF4CC8
triadic
#AC4CDF #DFAC4C #4CDFAC
tetradic
#AC4CDF #DF624C #7FDF4C #4CC8DF
square
#AC4CDF #DF624C #7FDF4C #4CC8DF
split-complementary
#AC4CDF #C8DF4C #4CDF62
monochromatic
#6B1B96 #9024CA #AC4CDF #C480E8 #DCB4F2

Accessibility & contrast

On white

4.33
#AC4CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AC4CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4CDF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4CDF#FFFFFF#000000##000000
##AC4CDF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#3C7BDC
Tritanopia (blue-blind)
#A66A8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac4cdf;
/* rgb */ color: rgb(172, 76, 223);
/* oklch */ color: oklch(60.5% 0.221 311.6);
Tailwind
colors: {
  custom: {
    50: '#c984ea',
    500: '#ac4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #ac4cdf;
$custom-light: #c984ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4cdf",
  "rgb": {
    "r": 172,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 279.184,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6048,
    "c": 0.22083,
    "h": 311.6
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#AC4CDF
secondary
#BBE0A6
accent
#EC3B79
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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