#AB3CA6#AB3CA6

#AB3CA6 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.2% C 0.190 H 329.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB3CA6
RGBrgb(171, 60, 166)
HSLhsl(303, 48%, 45%)
HSVhsv(303, 65%, 67%)
CMYKcmyk(0%, 64.9%, 2.9%, 32.9%)
CIE-LABlab(45.14, 58.06, -34.85)
CIE-LCHlch(45.14, 67.71, 329.02°)
OKLaboklab(55.18% 0.1639 -0.096)
OKLCHoklch(55.18% 0.19 329.6)
XYZxyz(25.2932, 14.6446, 37.5635)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CA6 #3CAB41
analogous
#793CAB #AB3CA6 #AB3C6E
triadic
#AB3CA6 #A6AB3C #3CA6AB
tetradic
#AB3CA6 #AB793C #3CAB41 #3C6EAB
square
#AB3CA6 #AB793C #3CAB41 #3C6EAB
split-complementary
#AB3CA6 #6EAB3C #3CAB79
monochromatic
#501C4E #7E2C7A #AB3CA6 #C65EC2 #D68BD3

Accessibility & contrast

On white

5.35
#AB3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AB3CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CA6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CA6#FFFFFF#000000##FFFFFF
##AB3CA61.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A9
Deuteranopia (green-blind)
#5A70A3
Tritanopia (blue-blind)
#B1496C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3ca6;
/* rgb */ color: rgb(171, 60, 166);
/* oklch */ color: oklch(55.2% 0.190 329.6);
Tailwind
colors: {
  custom: {
    50: '#c77ac1',
    500: '#ab3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ca6;
$custom-light: #c77ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ca6",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 302.703,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.18989,
    "h": 329.6
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#AB3CA6
secondary
#82C185
accent
#D85650
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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