#AB3CA5#AB3CA5

#AB3CA5 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.1% C 0.189 H 330.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB3CA5
RGBrgb(171, 60, 165)
HSLhsl(303, 48%, 45%)
HSVhsv(303, 65%, 67%)
CMYKcmyk(0%, 64.9%, 3.5%, 32.9%)
CIE-LABlab(45.09, 57.89, -34.34)
CIE-LCHlch(45.09, 67.31, 329.33°)
OKLaboklab(55.13% 0.1638 -0.0945)
OKLCHoklch(55.13% 0.189 330)
XYZxyz(25.2018, 14.6081, 37.0823)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CA5 #3CAB42
analogous
#793CAB #AB3CA5 #AB3C6E
triadic
#AB3CA5 #A5AB3C #3CA5AB
tetradic
#AB3CA5 #AB793C #3CAB42 #3C6EAB
square
#AB3CA5 #AB793C #3CAB42 #3C6EAB
split-complementary
#AB3CA5 #6EAB3C #3CAB79
monochromatic
#501C4E #7E2C79 #AB3CA5 #C65EC1 #D68BD2

Accessibility & contrast

On white

5.36
#AB3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB3CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CA5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CA5#FFFFFF#000000##FFFFFF
##AB3CA51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#5A70A2
Tritanopia (blue-blind)
#B1486B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3ca5;
/* rgb */ color: rgb(171, 60, 165);
/* oklch */ color: oklch(55.1% 0.189 330.0);
Tailwind
colors: {
  custom: {
    50: '#c77ac0',
    500: '#ab3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ca5;
$custom-light: #c77ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ca5",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 303.243,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55125,
    "c": 0.18909,
    "h": 330
  },
  "luminance": 0.14606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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