#AB259D#AB259D

#AB259D is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.209 H 332.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AB259D
RGBrgb(171, 37, 157)
HSLhsl(306, 64%, 41%)
HSVhsv(306, 78%, 67%)
CMYKcmyk(0%, 78.4%, 8.2%, 32.9%)
CIE-LABlab(41.87, 64.56, -34.63)
CIE-LCHlch(41.87, 73.26, 331.79°)
OKLaboklab(52.67% 0.1863 -0.0952)
OKLCHoklch(52.67% 0.209 332.9)
XYZxyz(23.5421, 12.4174, 33.0487)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB259D #25AB33
analogous
#7625AB #AB259D #AB255A
triadic
#AB259D #9DAB25 #259DAB
tetradic
#AB259D #AB7625 #25AB33 #255AAB
square
#AB259D #AB7625 #25AB33 #255AAB
split-complementary
#AB259D #5AAB25 #25AB76
monochromatic
#460F41 #791A6F #AB259D #D439C4 #DF6BD3

Accessibility & contrast

On white

6.03
#AB259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB259D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB259D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB259D#FFFFFF#000000##FFFFFF
##AB259D1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D57A0
Deuteranopia (green-blind)
#54699A
Tritanopia (blue-blind)
#B33560
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab259d;
/* rgb */ color: rgb(171, 37, 157);
/* oklch */ color: oklch(52.7% 0.209 332.9);
Tailwind
colors: {
  custom: {
    50: '#c870ba',
    500: '#ab259d',
    950: '#000000',
  },
}
SCSS
$custom: #ab259d;
$custom-light: #c870ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab259d",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 306.269,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52671,
    "c": 0.20925,
    "h": 332.9
  },
  "luminance": 0.12415
}

Semantic roles & 50–950 ramp

primary
#AB259D
secondary
#67C570
accent
#E75240
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AB259D

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

Preview Lab → · Contrast checker → · Palette generator →

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