#AB3BA3#AB3BA3

#AB3BA3 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.9% C 0.189 H 330.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AB3BA3
RGBrgb(171, 59, 163)
HSLhsl(304, 49%, 45%)
HSVhsv(304, 65%, 67%)
CMYKcmyk(0%, 65.5%, 4.7%, 32.9%)
CIE-LABlab(44.85, 57.96, -33.53)
CIE-LCHlch(44.85, 66.96, 329.95°)
OKLaboklab(54.91% 0.1648 -0.0922)
OKLCHoklch(54.91% 0.189 330.8)
XYZxyz(24.9693, 14.4320, 36.1138)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BA3 #3BAB43
analogous
#7B3BAB #AB3BA3 #AB3B6B
triadic
#AB3BA3 #A3AB3B #3BA3AB
tetradic
#AB3BA3 #AB7B3B #3BAB43 #3B6BAB
square
#AB3BA3 #AB7B3B #3BAB43 #3B6BAB
split-complementary
#AB3BA3 #6BAB3B #3BAB7B
monochromatic
#501C4C #7D2B78 #AB3BA3 #C75CBF #D78AD1

Accessibility & contrast

On white

5.40
#AB3BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AB3BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BA3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BA3#FFFFFF#000000##FFFFFF
##AB3BA31.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A6
Deuteranopia (green-blind)
#5B70A0
Tritanopia (blue-blind)
#B2476A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3ba3;
/* rgb */ color: rgb(171, 59, 163);
/* oklch */ color: oklch(54.9% 0.189 330.8);
Tailwind
colors: {
  custom: {
    50: '#c77abe',
    500: '#ab3ba3',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ba3;
$custom-light: #c77abe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ba3",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 304.286,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54914,
    "c": 0.18881,
    "h": 330.8
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#AB3BA3
secondary
#81C185
accent
#D85950
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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