#AB3CA2#AB3CA2

#AB3CA2 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.0% C 0.187 H 331.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AB3CA2
RGBrgb(171, 60, 162)
HSLhsl(305, 48%, 45%)
HSVhsv(305, 65%, 67%)
CMYKcmyk(0%, 64.9%, 5.3%, 32.9%)
CIE-LABlab(44.94, 57.39, -32.79)
CIE-LCHlch(44.94, 66.10, 330.26°)
OKLaboklab(54.97% 0.1635 -0.09)
OKLCHoklch(54.97% 0.187 331.2)
XYZxyz(24.9320, 14.5001, 35.6611)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CA2 #3CAB45
analogous
#7C3CAB #AB3CA2 #AB3C6A
triadic
#AB3CA2 #A2AB3C #3CA2AB
tetradic
#AB3CA2 #AB7C3C #3CAB45 #3C6AAB
square
#AB3CA2 #AB7C3C #3CAB45 #3C6AAB
split-complementary
#AB3CA2 #6AAB3C #3CAB7C
monochromatic
#501C4C #7E2C77 #AB3CA2 #C65EBE #D68BD0

Accessibility & contrast

On white

5.39
#AB3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AB3CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CA2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CA2#FFFFFF#000000##FFFFFF
##AB3CA21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#B2476A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3ca2;
/* rgb */ color: rgb(171, 60, 162);
/* oklch */ color: oklch(55.0% 0.187 331.2);
Tailwind
colors: {
  custom: {
    50: '#c77abe',
    500: '#ab3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ca2;
$custom-light: #c77abe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ca2",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 304.865,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54967,
    "c": 0.18667,
    "h": 331.2
  },
  "luminance": 0.14498
}

Semantic roles & 50–950 ramp

primary
#AB3CA2
secondary
#82C187
accent
#D85B50
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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