#AD40BB#AD40BB

#AD40BB is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.203 H 323.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AD40BB
RGBrgb(173, 64, 187)
HSLhsl(293, 49%, 49%)
HSVhsv(293, 66%, 73%)
CMYKcmyk(7.5%, 65.8%, 0%, 26.7%)
CIE-LABlab(47.16, 60.60, -44.00)
CIE-LCHlch(47.16, 74.89, 324.02°)
OKLaboklab(57.06% 0.1624 -0.1225)
OKLCHoklch(57.06% 0.203 323)
XYZxyz(28.0357, 16.1404, 48.6428)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40BB #4EBB40
analogous
#7040BB #AD40BB #BB408C
triadic
#AD40BB #BBAD40 #40BBAD
tetradic
#AD40BB #BB7040 #4EBB40 #408CBB
square
#AD40BB #BB7040 #4EBB40 #408CBB
split-complementary
#AD40BB #8CBB40 #40BB70
monochromatic
#592160 #83308D #AD40BB #C26CCD #D599DC

Accessibility & contrast

On white

4.97
#AD40BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AD40BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD40BB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40BB#FFFFFF#000000##FFFFFF
##AD40BB1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#B05478
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ad40bb;
/* rgb */ color: rgb(173, 64, 187);
/* oklch */ color: oklch(57.1% 0.203 323.0);
Tailwind
colors: {
  custom: {
    50: '#c97dd0',
    500: '#ad40bb',
    950: '#000000',
  },
}
SCSS
$custom: #ad40bb;
$custom-light: #c97dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40bb",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 293.171,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57059,
    "c": 0.2034,
    "h": 323
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#AD40BB
secondary
#95C88F
accent
#D94F5F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AD40BB

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

Preview Lab → · Contrast checker → · Palette generator →

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