#AB259B#AB259B

#AB259B is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.208 H 333.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AB259B
RGBrgb(171, 37, 155)
HSLhsl(307, 64%, 41%)
HSVhsv(307, 78%, 67%)
CMYKcmyk(0%, 78.4%, 9.4%, 32.9%)
CIE-LABlab(41.77, 64.26, -33.59)
CIE-LCHlch(41.77, 72.51, 332.40°)
OKLaboklab(52.56% 0.1863 -0.0922)
OKLCHoklch(52.56% 0.208 333.7)
XYZxyz(23.3728, 12.3497, 32.1567)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB259B #25AB35
analogous
#7825AB #AB259B #AB2558
triadic
#AB259B #9BAB25 #259BAB
tetradic
#AB259B #AB7825 #25AB35 #2558AB
square
#AB259B #AB7825 #25AB35 #2558AB
split-complementary
#AB259B #58AB25 #25AB78
monochromatic
#460F40 #791A6D #AB259B #D439C2 #DF6BD1

Accessibility & contrast

On white

6.05
#AB259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AB259B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB259B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB259B#FFFFFF#000000##FFFFFF
##AB259B1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20569E
Deuteranopia (green-blind)
#556998
Tritanopia (blue-blind)
#B3335F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab259b;
/* rgb */ color: rgb(171, 37, 155);
/* oklch */ color: oklch(52.6% 0.208 333.7);
Tailwind
colors: {
  custom: {
    50: '#c870b9',
    500: '#ab259b',
    950: '#000000',
  },
}
SCSS
$custom: #ab259b;
$custom-light: #c870b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab259b",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 307.164,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52562,
    "c": 0.20783,
    "h": 333.7
  },
  "luminance": 0.12348
}

Semantic roles & 50–950 ramp

primary
#AB259B
secondary
#67C572
accent
#E75440
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB259B

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

Preview Lab → · Contrast checker → · Palette generator →

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