#AB259C#AB259C

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

Color values

HEX#AB259C
RGBrgb(171, 37, 156)
HSLhsl(307, 64%, 41%)
HSVhsv(307, 78%, 67%)
CMYKcmyk(0%, 78.4%, 8.8%, 32.9%)
CIE-LABlab(41.82, 64.41, -34.11)
CIE-LCHlch(41.82, 72.88, 332.09°)
OKLaboklab(52.62% 0.1863 -0.0937)
OKLCHoklch(52.62% 0.209 333.3)
XYZxyz(23.4571, 12.3834, 32.6009)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB259C #25AB34
analogous
#7725AB #AB259C #AB2559
triadic
#AB259C #9CAB25 #259CAB
tetradic
#AB259C #AB7725 #25AB34 #2559AB
square
#AB259C #AB7725 #25AB34 #2559AB
split-complementary
#AB259C #59AB25 #25AB77
monochromatic
#460F40 #791A6E #AB259C #D439C3 #DF6BD2

Accessibility & contrast

On white

6.04
#AB259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB259C
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB259C#FFFFFF#000000##FFFFFF
##AB259C1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F569F
Deuteranopia (green-blind)
#546999
Tritanopia (blue-blind)
#B33460
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab259c;
/* rgb */ color: rgb(171, 37, 156);
/* oklch */ color: oklch(52.6% 0.209 333.3);
Tailwind
colors: {
  custom: {
    50: '#c870b9',
    500: '#ab259c',
    950: '#000000',
  },
}
SCSS
$custom: #ab259c;
$custom-light: #c870b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab259c",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 306.716,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52616,
    "c": 0.20854,
    "h": 333.3
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#AB259C
secondary
#67C571
accent
#E75340
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB259C

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

Preview Lab → · Contrast checker → · Palette generator →

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