#AC4FD8#AC4FD8

#AC4FD8 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.4% C 0.210 H 313.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AC4FD8
RGBrgb(172, 79, 216)
HSLhsl(281, 64%, 58%)
HSVhsv(281, 63%, 85%)
CMYKcmyk(20.4%, 63.4%, 0%, 15.3%)
CIE-LABlab(51.06, 59.51, -54.48)
CIE-LCHlch(51.06, 80.68, 317.53°)
OKLaboklab(60.39% 0.1436 -0.1532)
OKLCHoklch(60.39% 0.21 313.1)
XYZxyz(32.2018, 19.3214, 66.9855)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FD8 #7BD84F
analogous
#674FD8 #AC4FD8 #D84FBF
triadic
#AC4FD8 #D8AC4F #4FD8AC
tetradic
#AC4FD8 #D8674F #7BD84F #4FBFD8
square
#AC4FD8 #D8674F #7BD84F #4FBFD8
split-complementary
#AC4FD8 #BFD84F #4FD867
monochromatic
#6A1F8D #902ABF #AC4FD8 #C481E3 #DBB3EE

Accessibility & contrast

On white

4.32
#AC4FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AC4FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4FD8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FD8#FFFFFF#000000##000000
##AC4FD81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E75DC
Deuteranopia (green-blind)
#477CD5
Tritanopia (blue-blind)
#A8698D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac4fd8;
/* rgb */ color: rgb(172, 79, 216);
/* oklch */ color: oklch(60.4% 0.210 313.1);
Tailwind
colors: {
  custom: {
    50: '#c886e5',
    500: '#ac4fd8',
    950: '#000000',
  },
}
SCSS
$custom: #ac4fd8;
$custom-light: #c886e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4fd8",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 280.73,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60387,
    "c": 0.20998,
    "h": 313.1
  },
  "luminance": 0.1932
}

Semantic roles & 50–950 ramp

primary
#AC4FD8
secondary
#B8DDA6
accent
#E74176
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC4FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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