#AB2597#AB2597

#AB2597 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.205 H 335.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AB2597
RGBrgb(171, 37, 151)
HSLhsl(309, 64%, 41%)
HSVhsv(309, 78%, 67%)
CMYKcmyk(0%, 78.4%, 11.7%, 32.9%)
CIE-LABlab(41.56, 63.67, -31.50)
CIE-LCHlch(41.56, 71.03, 333.67°)
OKLaboklab(52.35% 0.1861 -0.0862)
OKLCHoklch(52.35% 0.205 335.2)
XYZxyz(23.0424, 12.2175, 30.4168)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2597 #25AB39
analogous
#7C25AB #AB2597 #AB2554
triadic
#AB2597 #97AB25 #2597AB
tetradic
#AB2597 #AB7C25 #25AB39 #2554AB
square
#AB2597 #AB7C25 #25AB39 #2554AB
split-complementary
#AB2597 #54AB25 #25AB7C
monochromatic
#460F3E #791A6B #AB2597 #D439BD #DF6BCE

Accessibility & contrast

On white

6.10
#AB2597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB2597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2597
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2597#FFFFFF#000000##FFFFFF
##AB25971.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25559A
Deuteranopia (green-blind)
#576994
Tritanopia (blue-blind)
#B4315D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2597;
/* rgb */ color: rgb(171, 37, 151);
/* oklch */ color: oklch(52.3% 0.205 335.2);
Tailwind
colors: {
  custom: {
    50: '#c870b6',
    500: '#ab2597',
    950: '#000000',
  },
}
SCSS
$custom: #ab2597;
$custom-light: #c870b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2597",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 308.955,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52346,
    "c": 0.20504,
    "h": 335.2
  },
  "luminance": 0.12215
}

Semantic roles & 50–950 ramp

primary
#AB2597
secondary
#67C575
accent
#E75940
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2597

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

Preview Lab → · Contrast checker → · Palette generator →

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