#AC48CF#AC48CF

#AC48CF is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.211 H 316.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AC48CF
RGBrgb(172, 72, 207)
HSLhsl(284, 58%, 55%)
HSVhsv(284, 65%, 81%)
CMYKcmyk(16.9%, 65.2%, 0%, 18.8%)
CIE-LABlab(49.39, 60.81, -52.01)
CIE-LCHlch(49.39, 80.02, 319.46°)
OKLaboklab(59.01% 0.1519 -0.146)
OKLCHoklch(59.01% 0.211 316.1)
XYZxyz(30.5914, 17.9115, 60.8652)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC48CF #6BCF48
analogous
#6848CF #AC48CF #CF48AF
triadic
#AC48CF #CFAC48 #48CFAC
tetradic
#AC48CF #CF6848 #6BCF48 #48AFCF
square
#AC48CF #CF6848 #6BCF48 #48AFCF
split-complementary
#AC48CF #AFCF48 #48CF68
monochromatic
#64217C #8C2DAD #AC48CF #C278DC #D8A9E8

Accessibility & contrast

On white

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

On black

4.58
#AC48CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC48CF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC48CF#FFFFFF#000000##000000
##AC48CF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B6FD3
Deuteranopia (green-blind)
#4878CC
Tritanopia (blue-blind)
#AA6185
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac48cf;
/* rgb */ color: rgb(172, 72, 207);
/* oklch */ color: oklch(59.0% 0.211 316.1);
Tailwind
colors: {
  custom: {
    50: '#c882de',
    500: '#ac48cf',
    950: '#000000',
  },
}
SCSS
$custom: #ac48cf;
$custom-light: #c882de;
$custom-dark: #000000;
JSON
{
  "hex": "#ac48cf",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 284.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59009,
    "c": 0.21065,
    "h": 316.1
  },
  "luminance": 0.1791
}

Semantic roles & 50–950 ramp

primary
#AC48CF
secondary
#ACD69D
accent
#E2466E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AC48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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