#AB269D#AB269D

#AB269D is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.208 H 333.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AB269D
RGBrgb(171, 38, 157)
HSLhsl(306, 64%, 41%)
HSVhsv(306, 78%, 67%)
CMYKcmyk(0%, 77.8%, 8.2%, 32.9%)
CIE-LABlab(41.97, 64.28, -34.48)
CIE-LCHlch(41.97, 72.94, 331.79°)
OKLaboklab(52.74% 0.1855 -0.0947)
OKLCHoklch(52.74% 0.208 333)
XYZxyz(23.5736, 12.4805, 33.0592)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB269D #26AB34
analogous
#7626AB #AB269D #AB265A
triadic
#AB269D #9DAB26 #269DAB
tetradic
#AB269D #AB7626 #26AB34 #265AAB
square
#AB269D #AB7626 #26AB34 #265AAB
split-complementary
#AB269D #5AAB26 #26AB76
monochromatic
#471041 #791B6F #AB269D #D33BC3 #DF6DD3

Accessibility & contrast

On white

6.01
#AB269D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB269D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB269D#FFFFFF#000000##FFFFFF
##AB269D1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F57A0
Deuteranopia (green-blind)
#546A9A
Tritanopia (blue-blind)
#B33560
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab269d;
/* rgb */ color: rgb(171, 38, 157);
/* oklch */ color: oklch(52.7% 0.208 333.0);
Tailwind
colors: {
  custom: {
    50: '#c870ba',
    500: '#ab269d',
    950: '#000000',
  },
}
SCSS
$custom: #ab269d;
$custom-light: #c870ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab269d",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 306.316,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.20831,
    "h": 333
  },
  "luminance": 0.12478
}

Semantic roles & 50–950 ramp

primary
#AB269D
secondary
#68C572
accent
#E75341
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB269D

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

Preview Lab → · Contrast checker → · Palette generator →

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