#AC40DD#AC40DD

#AC40DD is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.1% C 0.234 H 313.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AC40DD
RGBrgb(172, 64, 221)
HSLhsl(281, 70%, 56%)
HSVhsv(281, 71%, 87%)
CMYKcmyk(22.2%, 71%, 0%, 13.3%)
CIE-LABlab(49.08, 66.94, -60.51)
CIE-LCHlch(49.08, 90.23, 317.89°)
OKLaboklab(59.07% 0.1592 -0.1708)
OKLCHoklch(59.07% 0.234 313)
XYZxyz(31.8955, 17.6589, 70.1209)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC40DD #71DD40
analogous
#5D40DD #AC40DD #DD40BF
triadic
#AC40DD #DDAC40 #40DDAC
tetradic
#AC40DD #DD5D40 #71DD40 #40BFDD
square
#AC40DD #DD5D40 #71DD40 #40BFDD
split-complementary
#AC40DD #BFDD40 #40DD5D
monochromatic
#67198A #8D22BE #AC40DD #C374E6 #D9A8EF

Accessibility & contrast

On white

4.63
#AC40DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AC40DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC40DD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC40DD#FFFFFF#000000##FFFFFF
##AC40DD1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#3177DA
Tritanopia (blue-blind)
#A7628B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac40dd;
/* rgb */ color: rgb(172, 64, 221);
/* oklch */ color: oklch(59.1% 0.234 313.0);
Tailwind
colors: {
  custom: {
    50: '#c97ee8',
    500: '#ac40dd',
    950: '#000000',
  },
}
SCSS
$custom: #ac40dd;
$custom-light: #c97ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac40dd",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 281.274,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59067,
    "c": 0.2335,
    "h": 313
  },
  "luminance": 0.17658
}

Semantic roles & 50–950 ramp

primary
#AC40DD
secondary
#B0DD9C
accent
#ED3B73
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC40DD

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

Preview Lab → · Contrast checker → · Palette generator →

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