#AD2FA7#AD2FA7

#AD2FA7 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.208 H 330.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AD2FA7
RGBrgb(173, 47, 167)
HSLhsl(303, 57%, 43%)
HSVhsv(303, 73%, 68%)
CMYKcmyk(0%, 72.8%, 3.5%, 32.2%)
CIE-LABlab(43.81, 63.50, -37.52)
CIE-LCHlch(43.81, 73.76, 329.42°)
OKLaboklab(54.3% 0.1798 -0.1036)
OKLCHoklch(54.3% 0.208 330.1)
XYZxyz(25.2250, 13.7092, 37.8693)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2FA7 #2FAD35
analogous
#742FAD #AD2FA7 #AD2F68
triadic
#AD2FA7 #A7AD2F #2FA7AD
tetradic
#AD2FA7 #AD742F #2FAD35 #2F68AD
square
#AD2FA7 #AD742F #2FAD35 #2F68AD
split-complementary
#AD2FA7 #68AD2F #2FAD74
monochromatic
#4D154A #7D2279 #AD2FA7 #CE4BC8 #DB7BD7

Accessibility & contrast

On white

5.61
#AD2FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AD2FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2FA7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2FA7#FFFFFF#000000##FFFFFF
##AD2FA71.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205DAA
Deuteranopia (green-blind)
#556EA4
Tritanopia (blue-blind)
#B34068
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ad2fa7;
/* rgb */ color: rgb(173, 47, 167);
/* oklch */ color: oklch(54.3% 0.208 330.1);
Tailwind
colors: {
  custom: {
    50: '#c974c1',
    500: '#ad2fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ad2fa7;
$custom-light: #c974c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2fa7",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 302.857,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.20752,
    "h": 330.1
  },
  "luminance": 0.13707
}

Semantic roles & 50–950 ramp

primary
#AD2FA7
secondary
#74C478
accent
#E14F47
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AD2FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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