#AB26AF#AB26AF

#AB26AF is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.222 H 326.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AB26AF
RGBrgb(171, 38, 175)
HSLhsl(298, 64%, 42%)
HSVhsv(298, 78%, 69%)
CMYKcmyk(2.3%, 78.3%, 0%, 31.4%)
CIE-LABlab(42.98, 67.11, -43.63)
CIE-LCHlch(42.98, 80.05, 326.98°)
OKLaboklab(53.78% 0.1854 -0.1213)
OKLCHoklch(53.78% 0.222 326.8)
XYZxyz(25.2251, 13.1411, 41.7570)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB26AF #2AAF26
analogous
#6726AF #AB26AF #AF266F
triadic
#AB26AF #AFAB26 #26AFAB
tetradic
#AB26AF #AF6726 #2AAF26 #266FAF
square
#AB26AF #AF6726 #2AAF26 #266FAF
split-complementary
#AB26AF #6FAF26 #26AF67
monochromatic
#49104A #7A1B7D #AB26AF #D13DD5 #DD70E0

Accessibility & contrast

On white

5.79
#AB26AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AB26AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB26AF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB26AF#FFFFFF#000000##FFFFFF
##AB26AF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#B03F6B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab26af;
/* rgb */ color: rgb(171, 38, 175);
/* oklch */ color: oklch(53.8% 0.222 326.8);
Tailwind
colors: {
  custom: {
    50: '#c871c7',
    500: '#ab26af',
    950: '#000000',
  },
}
SCSS
$custom: #ab26af;
$custom-light: #c871c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab26af",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 298.248,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53782,
    "c": 0.22152,
    "h": 326.8
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#AB26AF
secondary
#6DC76A
accent
#E74045
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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