#AC45DB#AC45DB

#AC45DB is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.4% C 0.226 H 313.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AC45DB
RGBrgb(172, 69, 219)
HSLhsl(281, 68%, 56%)
HSVhsv(281, 68%, 86%)
CMYKcmyk(21.5%, 68.5%, 0%, 14.1%)
CIE-LABlab(49.67, 64.51, -58.42)
CIE-LCHlch(49.67, 87.03, 317.84°)
OKLaboklab(59.45% 0.1543 -0.1647)
OKLCHoklch(59.45% 0.226 313.1)
XYZxyz(31.9253, 18.1423, 68.8242)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45DB #74DB45
analogous
#6145DB #AC45DB #DB45BF
triadic
#AC45DB #DBAC45 #45DBAC
tetradic
#AC45DB #DB6145 #74DB45 #45BFDB
square
#AC45DB #DB6145 #74DB45 #45BFDB
split-complementary
#AC45DB #BFDB45 #45DB61
monochromatic
#681B8B #8E25BE #AC45DB #C378E5 #DAACEF

Accessibility & contrast

On white

4.54
#AC45DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AC45DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC45DB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45DB#FFFFFF#000000##000000
##AC45DB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#3978D8
Tritanopia (blue-blind)
#A7648B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ac45db;
/* rgb */ color: rgb(172, 69, 219);
/* oklch */ color: oklch(59.4% 0.226 313.1);
Tailwind
colors: {
  custom: {
    50: '#c981e7',
    500: '#ac45db',
    950: '#000000',
  },
}
SCSS
$custom: #ac45db;
$custom-light: #c981e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45db",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 281.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59446,
    "c": 0.22576,
    "h": 313.1
  },
  "luminance": 0.18141
}

Semantic roles & 50–950 ramp

primary
#AC45DB
secondary
#B2DD9F
accent
#EA3D74
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC45DB

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

Preview Lab → · Contrast checker → · Palette generator →

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