#AD27AB#AD27AB

#AD27AB is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.219 H 328.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AD27AB
RGBrgb(173, 39, 171)
HSLhsl(301, 63%, 42%)
HSVhsv(301, 77%, 68%)
CMYKcmyk(0%, 77.5%, 1.2%, 32.2%)
CIE-LABlab(43.18, 66.60, -40.91)
CIE-LCHlch(43.18, 78.16, 328.44°)
OKLaboklab(53.92% 0.1868 -0.1133)
OKLCHoklch(53.92% 0.219 328.8)
XYZxyz(25.3095, 13.2775, 39.7500)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD27AB #27AD29
analogous
#6C27AD #AD27AB #AD2768
triadic
#AD27AB #ABAD27 #27ABAD
tetradic
#AD27AB #AD6C27 #27AD29 #2768AD
square
#AD27AB #AD6C27 #27AD29 #2768AD
split-complementary
#AD27AB #68AD27 #27AD6C
monochromatic
#491048 #7B1C7A #AD27AB #D33ED1 #DF70DD

Accessibility & contrast

On white

5.75
#AD27AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AD27AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD27AB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD27AB#FFFFFF#000000##FFFFFF
##AD27AB1.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055BAE
Deuteranopia (green-blind)
#4F6CA8
Tritanopia (blue-blind)
#B33D68
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ad27ab;
/* rgb */ color: rgb(173, 39, 171);
/* oklch */ color: oklch(53.9% 0.219 328.8);
Tailwind
colors: {
  custom: {
    50: '#c971c4',
    500: '#ad27ab',
    950: '#000000',
  },
}
SCSS
$custom: #ad27ab;
$custom-light: #c971c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad27ab",
  "rgb": {
    "r": 173,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 300.896,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53917,
    "c": 0.21853,
    "h": 328.8
  },
  "luminance": 0.13276
}

Semantic roles & 50–950 ramp

primary
#AD27AB
secondary
#6AC66C
accent
#E64442
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD27AB

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

Preview Lab → · Contrast checker → · Palette generator →

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