#AD27AF#AD27AF

#AD27AF is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.222 H 327.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AD27AF
RGBrgb(173, 39, 175)
HSLhsl(299, 64%, 42%)
HSVhsv(299, 78%, 69%)
CMYKcmyk(1.1%, 77.7%, 0%, 31.4%)
CIE-LABlab(43.41, 67.24, -42.92)
CIE-LCHlch(43.41, 79.77, 327.45°)
OKLaboklab(54.15% 0.1867 -0.1192)
OKLCHoklch(54.15% 0.222 327.5)
XYZxyz(25.6966, 13.4323, 41.7884)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD27AF #29AF27
analogous
#6927AF #AD27AF #AF276D
triadic
#AD27AF #AFAD27 #27AFAD
tetradic
#AD27AF #AF6927 #29AF27 #276DAF
square
#AD27AF #AF6927 #29AF27 #276DAF
split-complementary
#AD27AF #6DAF27 #27AF69
monochromatic
#4A114B #7C1C7D #AD27AF #D23FD4 #DE71DF

Accessibility & contrast

On white

5.70
#AD27AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AD27AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD27AF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD27AF#FFFFFF#000000##FFFFFF
##AD27AF1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4C6CAC
Tritanopia (blue-blind)
#B23F6B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ad27af;
/* rgb */ color: rgb(173, 39, 175);
/* oklch */ color: oklch(54.2% 0.222 327.5);
Tailwind
colors: {
  custom: {
    50: '#c972c7',
    500: '#ad27af',
    950: '#000000',
  },
}
SCSS
$custom: #ad27af;
$custom-light: #c972c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad27af",
  "rgb": {
    "r": 173,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 299.118,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.22152,
    "h": 327.5
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#AD27AF
secondary
#6DC66B
accent
#E74144
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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