#AB2598#AB2598

#AB2598 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.206 H 334.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AB2598
RGBrgb(171, 37, 152)
HSLhsl(309, 64%, 41%)
HSVhsv(309, 78%, 67%)
CMYKcmyk(0%, 78.4%, 11.1%, 32.9%)
CIE-LABlab(41.61, 63.81, -32.02)
CIE-LCHlch(41.61, 71.40, 333.35°)
OKLaboklab(52.4% 0.1861 -0.0877)
OKLCHoklch(52.4% 0.206 334.8)
XYZxyz(23.1239, 12.2502, 30.8463)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2598 #25AB38
analogous
#7B25AB #AB2598 #AB2555
triadic
#AB2598 #98AB25 #2598AB
tetradic
#AB2598 #AB7B25 #25AB38 #2555AB
square
#AB2598 #AB7B25 #25AB38 #2555AB
split-complementary
#AB2598 #55AB25 #25AB7B
monochromatic
#460F3F #791A6B #AB2598 #D439BE #DF6BCF

Accessibility & contrast

On white

6.09
#AB2598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AB2598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2598
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2598#FFFFFF#000000##FFFFFF
##AB25981.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569B
Deuteranopia (green-blind)
#566995
Tritanopia (blue-blind)
#B4325D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2598;
/* rgb */ color: rgb(171, 37, 152);
/* oklch */ color: oklch(52.4% 0.206 334.8);
Tailwind
colors: {
  custom: {
    50: '#c870b6',
    500: '#ab2598',
    950: '#000000',
  },
}
SCSS
$custom: #ab2598;
$custom-light: #c870b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2598",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 308.507,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.524,
    "c": 0.20573,
    "h": 334.8
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#AB2598
secondary
#67C574
accent
#E75840
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2598

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

Preview Lab → · Contrast checker → · Palette generator →

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