#AD4FA7#AD4FA7

#AD4FA7 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.8% C 0.164 H 329.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AD4FA7
RGBrgb(173, 79, 167)
HSLhsl(304, 37%, 49%)
HSVhsv(304, 54%, 68%)
CMYKcmyk(0%, 54.3%, 3.5%, 32.2%)
CIE-LABlab(48.60, 50.27, -30.01)
CIE-LCHlch(48.60, 58.55, 329.17°)
OKLaboklab(57.78% 0.142 -0.0822)
OKLCHoklch(57.78% 0.164 329.9)
XYZxyz(27.0044, 17.2679, 38.4624)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD4FA7 #4FAD55
analogous
#844FAD #AD4FA7 #AD4F78
triadic
#AD4FA7 #A7AD4F #4FA7AD
tetradic
#AD4FA7 #AD844F #4FAD55 #4F78AD
square
#AD4FA7 #AD844F #4FAD55 #4F78AD
split-complementary
#AD4FA7 #78AD4F #4FAD84
monochromatic
#592956 #833C7E #AD4FA7 #C178BD #D4A2D1

Accessibility & contrast

On white

4.72
#AD4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AD4FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD4FA7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD4FA7#FFFFFF#000000##FFFFFF
##AD4FA71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496BAA
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#B35874
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ad4fa7;
/* rgb */ color: rgb(173, 79, 167);
/* oklch */ color: oklch(57.8% 0.164 329.9);
Tailwind
colors: {
  custom: {
    50: '#c885c1',
    500: '#ad4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ad4fa7;
$custom-light: #c885c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad4fa7",
  "rgb": {
    "r": 173,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 303.83,
    "s": 37.302,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57776,
    "c": 0.16402,
    "h": 329.9
  },
  "luminance": 0.17266
}

Semantic roles & 50–950 ramp

primary
#AD4FA7
secondary
#96C299
accent
#CD625B
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AD4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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