#AD279B#AD279B

#AD279B is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.207 H 334.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AD279B
RGBrgb(173, 39, 155)
HSLhsl(308, 63%, 42%)
HSVhsv(308, 77%, 68%)
CMYKcmyk(0%, 77.5%, 10.4%, 32.2%)
CIE-LABlab(42.31, 64.13, -32.71)
CIE-LCHlch(42.31, 71.99, 332.98°)
OKLaboklab(53.02% 0.1866 -0.0896)
OKLCHoklch(53.02% 0.207 334.3)
XYZxyz(23.8758, 12.7040, 32.1986)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD279B #27AD39
analogous
#7C27AD #AD279B #AD2758
triadic
#AD279B #9BAD27 #279BAD
tetradic
#AD279B #AD7C27 #27AD39 #2758AD
square
#AD279B #AD7C27 #27AD39 #2758AD
split-complementary
#AD279B #58AD27 #27AD7C
monochromatic
#491042 #7B1C6E #AD279B #D33EBF #DF70D0

Accessibility & contrast

On white

5.93
#AD279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AD279B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD279B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD279B#FFFFFF#000000##FFFFFF
##AD279B1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579E
Deuteranopia (green-blind)
#576B98
Tritanopia (blue-blind)
#B5345F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad279b;
/* rgb */ color: rgb(173, 39, 155);
/* oklch */ color: oklch(53.0% 0.207 334.3);
Tailwind
colors: {
  custom: {
    50: '#c971b9',
    500: '#ad279b',
    950: '#000000',
  },
}
SCSS
$custom: #ad279b;
$custom-light: #c971b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad279b",
  "rgb": {
    "r": 173,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 308.06,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.20698,
    "h": 334.3
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#AD279B
secondary
#6AC677
accent
#E65842
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AD279B

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

Preview Lab → · Contrast checker → · Palette generator →

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