#AB3CA7#AB3CA7

#AB3CA7 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.2% C 0.191 H 329.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB3CA7
RGBrgb(171, 60, 167)
HSLhsl(302, 48%, 45%)
HSVhsv(302, 65%, 67%)
CMYKcmyk(0%, 64.9%, 2.3%, 32.9%)
CIE-LABlab(45.19, 58.23, -35.36)
CIE-LCHlch(45.19, 68.12, 328.73°)
OKLaboklab(55.23% 0.1639 -0.0975)
OKLCHoklch(55.23% 0.191 329.3)
XYZxyz(25.3853, 14.6815, 38.0485)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CA7 #3CAB40
analogous
#773CAB #AB3CA7 #AB3C70
triadic
#AB3CA7 #A7AB3C #3CA7AB
tetradic
#AB3CA7 #AB773C #3CAB40 #3C70AB
square
#AB3CA7 #AB773C #3CAB40 #3C70AB
split-complementary
#AB3CA7 #70AB3C #3CAB77
monochromatic
#501C4F #7E2C7B #AB3CA7 #C65EC3 #D68BD4

Accessibility & contrast

On white

5.34
#AB3CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB3CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CA7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CA7#FFFFFF#000000##FFFFFF
##AB3CA71.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161AA
Deuteranopia (green-blind)
#5970A4
Tritanopia (blue-blind)
#B1496C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3ca7;
/* rgb */ color: rgb(171, 60, 167);
/* oklch */ color: oklch(55.2% 0.191 329.3);
Tailwind
colors: {
  custom: {
    50: '#c77ac1',
    500: '#ab3ca7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ca7;
$custom-light: #c77ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ca7",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 302.162,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55233,
    "c": 0.19071,
    "h": 329.3
  },
  "luminance": 0.1468
}

Semantic roles & 50–950 ramp

primary
#AB3CA7
secondary
#82C184
accent
#D85550
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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