#AB61BA#AB61BA

#AB61BA is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.0% C 0.151 H 320.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AB61BA
RGBrgb(171, 97, 186)
HSLhsl(290, 39%, 55%)
HSVhsv(290, 48%, 73%)
CMYKcmyk(8.1%, 47.8%, 0%, 27.1%)
CIE-LABlab(52.68, 44.14, -34.72)
CIE-LCHlch(52.68, 56.16, 321.81°)
OKLaboklab(61.03% 0.1171 -0.0959)
OKLCHoklch(61.03% 0.151 320.7)
XYZxyz(29.9311, 20.7537, 48.8741)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB61BA #70BA61
analogous
#7E61BA #AB61BA #BA619C
triadic
#AB61BA #BAAB61 #61BAAB
tetradic
#AB61BA #BA7E61 #70BA61 #619CBA
square
#AB61BA #BA7E61 #70BA61 #619CBA
split-complementary
#AB61BA #9CBA61 #61BA7E
monochromatic
#653170 #8C439A #AB61BA #C28CCD #D8B6DF

Accessibility & contrast

On white

4.08
#AB61BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AB61BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB61BA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB61BA#FFFFFF#000000##000000
##AB61BA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5378BD
Deuteranopia (green-blind)
#6981B7
Tritanopia (blue-blind)
#AC6D85
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab61ba;
/* rgb */ color: rgb(171, 97, 186);
/* oklch */ color: oklch(61.0% 0.151 320.7);
Tailwind
colors: {
  custom: {
    50: '#c690cf',
    500: '#ab61ba',
    950: '#000000',
  },
}
SCSS
$custom: #ab61ba;
$custom-light: #c690cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab61ba",
  "rgb": {
    "r": 171,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 289.888,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61028,
    "c": 0.15134,
    "h": 320.7
  },
  "luminance": 0.20752
}

Semantic roles & 50–950 ramp

primary
#AB61BA
secondary
#AFCEA9
accent
#CF596D
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AB61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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