#AD27A7#AD27A7

#AD27A7 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.216 H 330.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AD27A7
RGBrgb(173, 39, 167)
HSLhsl(303, 63%, 42%)
HSVhsv(303, 77%, 68%)
CMYKcmyk(0%, 77.5%, 3.5%, 32.2%)
CIE-LABlab(42.95, 65.96, -38.88)
CIE-LCHlch(42.95, 76.57, 329.48°)
OKLaboklab(53.69% 0.1869 -0.1074)
OKLCHoklch(53.69% 0.216 330.1)
XYZxyz(24.9340, 13.1273, 37.7723)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD27A7 #27AD2D
analogous
#7027AD #AD27A7 #AD2764
triadic
#AD27A7 #A7AD27 #27A7AD
tetradic
#AD27A7 #AD7027 #27AD2D #2764AD
square
#AD27A7 #AD7027 #27AD2D #2764AD
split-complementary
#AD27A7 #64AD27 #27AD70
monochromatic
#491047 #7B1C77 #AD27A7 #D33ECD #DF70DA

Accessibility & contrast

On white

5.79
#AD27A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AD27A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD27A7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD27A7#FFFFFF#000000##FFFFFF
##AD27A71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125AAA
Deuteranopia (green-blind)
#516CA4
Tritanopia (blue-blind)
#B43B66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ad27a7;
/* rgb */ color: rgb(173, 39, 167);
/* oklch */ color: oklch(53.7% 0.216 330.1);
Tailwind
colors: {
  custom: {
    50: '#c971c1',
    500: '#ad27a7',
    950: '#000000',
  },
}
SCSS
$custom: #ad27a7;
$custom-light: #c971c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad27a7",
  "rgb": {
    "r": 173,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 302.687,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53685,
    "c": 0.21559,
    "h": 330.1
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#AD27A7
secondary
#6AC66E
accent
#E64942
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AD27A7

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

Preview Lab → · Contrast checker → · Palette generator →

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