#AD40AF#AD40AF

#AD40AF is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.4% C 0.193 H 327.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AD40AF
RGBrgb(173, 64, 175)
HSLhsl(299, 46%, 47%)
HSVhsv(299, 63%, 69%)
CMYKcmyk(1.1%, 63.4%, 0%, 31.4%)
CIE-LABlab(46.51, 58.45, -38.00)
CIE-LCHlch(46.51, 69.72, 326.97°)
OKLaboklab(56.38% 0.162 -0.1051)
OKLCHoklch(56.38% 0.193 327)
XYZxyz(26.8044, 15.6479, 42.1577)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40AF #42AF40
analogous
#7640AF #AD40AF #AF407A
triadic
#AD40AF #AFAD40 #40AFAD
tetradic
#AD40AF #AF7640 #42AF40 #407AAF
square
#AD40AF #AF7640 #42AF40 #407AAF
split-complementary
#AD40AF #7AAF40 #40AF76
monochromatic
#541F55 #813082 #AD40AF #C565C7 #D692D7

Accessibility & contrast

On white

5.09
#AD40AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AD40AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD40AF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40AF#FFFFFF#000000##FFFFFF
##AD40AF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#B24F72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ad40af;
/* rgb */ color: rgb(173, 64, 175);
/* oklch */ color: oklch(56.4% 0.193 327.0);
Tailwind
colors: {
  custom: {
    50: '#c97dc7',
    500: '#ad40af',
    950: '#000000',
  },
}
SCSS
$custom: #ad40af;
$custom-light: #c97dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40af",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 298.919,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5638,
    "c": 0.19308,
    "h": 327
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#AD40AF
secondary
#89C388
accent
#D65254
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AD40AF

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

Preview Lab → · Contrast checker → · Palette generator →

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