#AB279B#AB279B

#AB279B is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.206 H 333.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AB279B
RGBrgb(171, 39, 155)
HSLhsl(307, 63%, 41%)
HSVhsv(307, 77%, 67%)
CMYKcmyk(0%, 77.2%, 9.4%, 32.9%)
CIE-LABlab(41.97, 63.69, -33.28)
CIE-LCHlch(41.97, 71.86, 332.41°)
OKLaboklab(52.7% 0.1846 -0.0913)
OKLCHoklch(52.7% 0.206 333.7)
XYZxyz(23.4367, 12.4776, 32.1781)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB279B #27AB37
analogous
#7927AB #AB279B #AB2759
triadic
#AB279B #9BAB27 #279BAB
tetradic
#AB279B #AB7927 #27AB37 #2759AB
square
#AB279B #AB7927 #27AB37 #2759AB
split-complementary
#AB279B #59AB27 #27AB79
monochromatic
#471041 #791C6E #AB279B #D33DC0 #DE6ED0

Accessibility & contrast

On white

6.01
#AB279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AB279B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB279B
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB279B#FFFFFF#000000##FFFFFF
##AB279B1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579E
Deuteranopia (green-blind)
#566A98
Tritanopia (blue-blind)
#B3355F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab279b;
/* rgb */ color: rgb(171, 39, 155);
/* oklch */ color: oklch(52.7% 0.206 333.7);
Tailwind
colors: {
  custom: {
    50: '#c870b9',
    500: '#ab279b',
    950: '#000000',
  },
}
SCSS
$custom: #ab279b;
$custom-light: #c870b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab279b",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 307.273,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52704,
    "c": 0.20593,
    "h": 333.7
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#AB279B
secondary
#69C574
accent
#E65642
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB279B

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

Preview Lab → · Contrast checker → · Palette generator →

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