#AC4FAF#AC4FAF

#AC4FAF is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.0% C 0.171 H 326.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AC4FAF
RGBrgb(172, 79, 175)
HSLhsl(298, 38%, 50%)
HSVhsv(298, 55%, 69%)
CMYKcmyk(1.7%, 54.9%, 0%, 31.4%)
CIE-LABlab(48.83, 51.43, -34.35)
CIE-LCHlch(48.83, 61.85, 326.27°)
OKLaboklab(58.05% 0.1419 -0.0947)
OKLCHoklch(58.05% 0.171 326.3)
XYZxyz(27.5466, 17.4593, 42.4682)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FAF #52AF4F
analogous
#7C4FAF #AC4FAF #AF4F82
triadic
#AC4FAF #AFAC4F #4FAFAC
tetradic
#AC4FAF #AF7C4F #52AF4F #4F82AF
square
#AC4FAF #AF7C4F #52AF4F #4F82AF
split-complementary
#AC4FAF #82AF4F #4FAF7C
monochromatic
#59295B #833C85 #AC4FAF #C079C2 #D4A3D5

Accessibility & contrast

On white

4.68
#AC4FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AC4FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4FAF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FAF#FFFFFF#000000##FFFFFF
##AC4FAF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446CB2
Deuteranopia (green-blind)
#6278AC
Tritanopia (blue-blind)
#B05B78
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ac4faf;
/* rgb */ color: rgb(172, 79, 175);
/* oklch */ color: oklch(58.0% 0.171 326.3);
Tailwind
colors: {
  custom: {
    50: '#c785c7',
    500: '#ac4faf',
    950: '#000000',
  },
}
SCSS
$custom: #ac4faf;
$custom-light: #c785c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4faf",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 298.125,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58046,
    "c": 0.17057,
    "h": 326.3
  },
  "luminance": 0.17458
}

Semantic roles & 50–950 ramp

primary
#AC4FAF
secondary
#99C397
accent
#CE5A5E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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