#AD27A5#AD27A5

#AD27A5 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.214 H 330.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AD27A5
RGBrgb(173, 39, 165)
HSLhsl(304, 63%, 42%)
HSVhsv(304, 77%, 68%)
CMYKcmyk(0%, 77.5%, 4.6%, 32.2%)
CIE-LABlab(42.84, 65.65, -37.87)
CIE-LCHlch(42.84, 75.79, 330.03°)
OKLaboklab(53.57% 0.1869 -0.1045)
OKLCHoklch(53.57% 0.214 330.8)
XYZxyz(24.7506, 13.0539, 36.8061)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD27A5 #27AD2F
analogous
#7227AD #AD27A5 #AD2762
triadic
#AD27A5 #A5AD27 #27A5AD
tetradic
#AD27A5 #AD7227 #27AD2F #2762AD
square
#AD27A5 #AD7227 #27AD2F #2762AD
split-complementary
#AD27A5 #62AD27 #27AD72
monochromatic
#491046 #7B1C75 #AD27A5 #D33ECB #DF70D8

Accessibility & contrast

On white

5.82
#AD27A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AD27A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD27A5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD27A5#FFFFFF#000000##FFFFFF
##AD27A51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165AA8
Deuteranopia (green-blind)
#526CA2
Tritanopia (blue-blind)
#B43A65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ad27a5;
/* rgb */ color: rgb(173, 39, 165);
/* oklch */ color: oklch(53.6% 0.214 330.8);
Tailwind
colors: {
  custom: {
    50: '#c971c0',
    500: '#ad27a5',
    950: '#000000',
  },
}
SCSS
$custom: #ad27a5;
$custom-light: #c971c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ad27a5",
  "rgb": {
    "r": 173,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 303.582,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.21412,
    "h": 330.8
  },
  "luminance": 0.13052
}

Semantic roles & 50–950 ramp

primary
#AD27A5
secondary
#6AC670
accent
#E64B42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AD27A5

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

Preview Lab → · Contrast checker → · Palette generator →

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