#AB269F#AB269F

#AB269F is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.210 H 332.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AB269F
RGBrgb(171, 38, 159)
HSLhsl(305, 64%, 41%)
HSVhsv(305, 78%, 67%)
CMYKcmyk(0%, 77.8%, 7%, 32.9%)
CIE-LABlab(42.08, 64.58, -35.51)
CIE-LCHlch(42.08, 73.70, 331.20°)
OKLaboklab(52.85% 0.1856 -0.0977)
OKLCHoklch(52.85% 0.21 332.2)
XYZxyz(23.7458, 12.5494, 33.9658)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB269F #26AB32
analogous
#7426AB #AB269F #AB265C
triadic
#AB269F #9FAB26 #269FAB
tetradic
#AB269F #AB7426 #26AB32 #265CAB
square
#AB269F #AB7426 #26AB32 #265CAB
split-complementary
#AB269F #5CAB26 #26AB74
monochromatic
#471042 #791B70 #AB269F #D33BC6 #DF6DD4

Accessibility & contrast

On white

5.98
#AB269F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AB269F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB269F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB269F#FFFFFF#000000##FFFFFF
##AB269F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A2
Deuteranopia (green-blind)
#536A9C
Tritanopia (blue-blind)
#B23661
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab269f;
/* rgb */ color: rgb(171, 38, 159);
/* oklch */ color: oklch(52.9% 0.210 332.2);
Tailwind
colors: {
  custom: {
    50: '#c870bc',
    500: '#ab269f',
    950: '#000000',
  },
}
SCSS
$custom: #ab269f;
$custom-light: #c870bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab269f",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 305.414,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.20974,
    "h": 332.2
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#AB269F
secondary
#68C570
accent
#E75041
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB269F

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

Preview Lab → · Contrast checker → · Palette generator →

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