#AB269A#AB269A

#AB269A is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.206 H 334.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AB269A
RGBrgb(171, 38, 154)
HSLhsl(308, 64%, 41%)
HSVhsv(308, 78%, 67%)
CMYKcmyk(0%, 77.8%, 9.9%, 32.9%)
CIE-LABlab(41.81, 63.83, -32.92)
CIE-LCHlch(41.81, 71.81, 332.72°)
OKLaboklab(52.58% 0.1854 -0.0902)
OKLCHoklch(52.58% 0.206 334)
XYZxyz(23.3207, 12.3793, 31.7268)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB269A #26AB37
analogous
#7926AB #AB269A #AB2657
triadic
#AB269A #9AAB26 #269AAB
tetradic
#AB269A #AB7926 #26AB37 #2657AB
square
#AB269A #AB7926 #26AB37 #2657AB
split-complementary
#AB269A #57AB26 #26AB79
monochromatic
#471040 #791B6D #AB269A #D33BC0 #DF6DD0

Accessibility & contrast

On white

6.04
#AB269A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB269A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB269A
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB269A#FFFFFF#000000##FFFFFF
##AB269A1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569D
Deuteranopia (green-blind)
#566997
Tritanopia (blue-blind)
#B3345F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab269a;
/* rgb */ color: rgb(171, 38, 154);
/* oklch */ color: oklch(52.6% 0.206 334.0);
Tailwind
colors: {
  custom: {
    50: '#c870b8',
    500: '#ab269a',
    950: '#000000',
  },
}
SCSS
$custom: #ab269a;
$custom-light: #c870b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab269a",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 307.669,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52578,
    "c": 0.20619,
    "h": 334
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#AB269A
secondary
#68C574
accent
#E75641
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB269A

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

Preview Lab → · Contrast checker → · Palette generator →

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