#AD27A6#AD27A6

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

Color values

HEX#AD27A6
RGBrgb(173, 39, 166)
HSLhsl(303, 63%, 42%)
HSVhsv(303, 77%, 68%)
CMYKcmyk(0%, 77.5%, 4%, 32.2%)
CIE-LABlab(42.90, 65.81, -38.38)
CIE-LCHlch(42.90, 76.18, 329.75°)
OKLaboklab(53.63% 0.1869 -0.106)
OKLCHoklch(53.63% 0.215 330.4)
XYZxyz(24.8420, 13.0904, 37.2873)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD27A6 #27AD2E
analogous
#7127AD #AD27A6 #AD2763
triadic
#AD27A6 #A6AD27 #27A6AD
tetradic
#AD27A6 #AD7127 #27AD2E #2763AD
square
#AD27A6 #AD7127 #27AD2E #2763AD
split-complementary
#AD27A6 #63AD27 #27AD71
monochromatic
#491046 #7B1C76 #AD27A6 #D33ECC #DF70D9

Accessibility & contrast

On white

5.80
#AD27A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AD27A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD27A6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD27A6#FFFFFF#000000##FFFFFF
##AD27A61.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145AA9
Deuteranopia (green-blind)
#526CA3
Tritanopia (blue-blind)
#B43A66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ad27a6;
/* rgb */ color: rgb(173, 39, 166);
/* oklch */ color: oklch(53.6% 0.215 330.4);
Tailwind
colors: {
  custom: {
    50: '#c971c1',
    500: '#ad27a6',
    950: '#000000',
  },
}
SCSS
$custom: #ad27a6;
$custom-light: #c971c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad27a6",
  "rgb": {
    "r": 173,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 303.134,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.21486,
    "h": 330.4
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#AD27A6
secondary
#6AC66F
accent
#E64A42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AD27A6

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

Preview Lab → · Contrast checker → · Palette generator →

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