#AB2696#AB2696

#AB2696 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.203 H 335.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AB2696
RGBrgb(171, 38, 150)
HSLhsl(309, 64%, 41%)
HSVhsv(309, 78%, 67%)
CMYKcmyk(0%, 77.8%, 12.3%, 32.9%)
CIE-LABlab(41.61, 63.24, -30.82)
CIE-LCHlch(41.61, 70.35, 334.02°)
OKLaboklab(52.36% 0.1852 -0.0842)
OKLCHoklch(52.36% 0.203 335.5)
XYZxyz(22.9931, 12.2483, 30.0014)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2696 #26AB3B
analogous
#7D26AB #AB2696 #AB2653
triadic
#AB2696 #96AB26 #2696AB
tetradic
#AB2696 #AB7D26 #26AB3B #2653AB
square
#AB2696 #AB7D26 #26AB3B #2653AB
split-complementary
#AB2696 #53AB26 #26AB7D
monochromatic
#47103E #791B6A #AB2696 #D33BBB #DF6DCD

Accessibility & contrast

On white

6.09
#AB2696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AB2696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2696
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2696#FFFFFF#000000##FFFFFF
##AB26961.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275699
Deuteranopia (green-blind)
#586993
Tritanopia (blue-blind)
#B4315C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2696;
/* rgb */ color: rgb(171, 38, 150);
/* oklch */ color: oklch(52.4% 0.203 335.5);
Tailwind
colors: {
  custom: {
    50: '#c870b5',
    500: '#ab2696',
    950: '#000000',
  },
}
SCSS
$custom: #ab2696;
$custom-light: #c870b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2696",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 309.474,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52365,
    "c": 0.2034,
    "h": 335.5
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#AB2696
secondary
#68C577
accent
#E75B41
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2696

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

Preview Lab → · Contrast checker → · Palette generator →

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