#AC48DB#AC48DB

#AC48DB is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.8% C 0.222 H 312.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AC48DB
RGBrgb(172, 72, 219)
HSLhsl(281, 67%, 57%)
HSVhsv(281, 67%, 86%)
CMYKcmyk(21.5%, 67.1%, 0%, 14.1%)
CIE-LABlab(50.12, 63.24, -57.69)
CIE-LCHlch(50.12, 85.60, 317.63°)
OKLaboklab(59.77% 0.1512 -0.1626)
OKLCHoklch(59.77% 0.222 312.9)
XYZxyz(32.1145, 18.5208, 68.8872)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC48DB #77DB48
analogous
#6348DB #AC48DB #DB48C1
triadic
#AC48DB #DBAC48 #48DBAC
tetradic
#AC48DB #DB6348 #77DB48 #48C1DB
square
#AC48DB #DB6348 #77DB48 #48C1DB
split-complementary
#AC48DB #C1DB48 #48DB63
monochromatic
#691C8D #8F26C0 #AC48DB #C37BE5 #DAAEEF

Accessibility & contrast

On white

4.46
#AC48DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AC48DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC48DB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC48DB#FFFFFF#000000##000000
##AC48DB1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#3C79D8
Tritanopia (blue-blind)
#A7668C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac48db;
/* rgb */ color: rgb(172, 72, 219);
/* oklch */ color: oklch(59.8% 0.222 312.9);
Tailwind
colors: {
  custom: {
    50: '#c982e7',
    500: '#ac48db',
    950: '#000000',
  },
}
SCSS
$custom: #ac48db;
$custom-light: #c982e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac48db",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 280.816,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5977,
    "c": 0.22204,
    "h": 312.9
  },
  "luminance": 0.1852
}

Semantic roles & 50–950 ramp

primary
#AC48DB
secondary
#B5DDA2
accent
#EA3E75
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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