#AB279C#AB279C

#AB279C is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.207 H 333.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AB279C
RGBrgb(171, 39, 156)
HSLhsl(307, 63%, 41%)
HSVhsv(307, 77%, 67%)
CMYKcmyk(0%, 77.2%, 8.8%, 32.9%)
CIE-LABlab(42.02, 63.84, -33.80)
CIE-LCHlch(42.02, 72.23, 332.10°)
OKLaboklab(52.76% 0.1846 -0.0928)
OKLCHoklch(52.76% 0.207 333.3)
XYZxyz(23.5210, 12.5113, 32.6222)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB279C #27AB36
analogous
#7827AB #AB279C #AB275A
triadic
#AB279C #9CAB27 #279CAB
tetradic
#AB279C #AB7827 #27AB36 #275AAB
square
#AB279C #AB7827 #27AB36 #275AAB
split-complementary
#AB279C #5AAB27 #27AB78
monochromatic
#471041 #791C6F #AB279C #D33DC2 #DE6ED1

Accessibility & contrast

On white

6.00
#AB279C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB279C
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB279C#FFFFFF#000000##FFFFFF
##AB279C1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21579F
Deuteranopia (green-blind)
#556A99
Tritanopia (blue-blind)
#B33560
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab279c;
/* rgb */ color: rgb(171, 39, 156);
/* oklch */ color: oklch(52.8% 0.207 333.3);
Tailwind
colors: {
  custom: {
    50: '#c870b9',
    500: '#ab279c',
    950: '#000000',
  },
}
SCSS
$custom: #ab279c;
$custom-light: #c870b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab279c",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 306.818,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52758,
    "c": 0.20664,
    "h": 333.3
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB279C

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

Preview Lab → · Contrast checker → · Palette generator →

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