#AB5CA7#AB5CA7

#AB5CA7 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.4% C 0.141 H 329.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB5CA7
RGBrgb(171, 92, 167)
HSLhsl(303, 32%, 52%)
HSVhsv(303, 46%, 67%)
CMYKcmyk(0%, 46.2%, 2.3%, 32.9%)
CIE-LABlab(50.81, 43.12, -26.59)
CIE-LCHlch(50.81, 50.66, 328.34°)
OKLaboklab(59.36% 0.121 -0.0726)
OKLCHoklch(59.36% 0.141 329)
XYZxyz(27.5964, 19.1037, 38.7855)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CA7 #5CAB60
analogous
#885CAB #AB5CA7 #AB5C80
triadic
#AB5CA7 #A7AB5C #5CA7AB
tetradic
#AB5CA7 #AB885C #5CAB60 #5C80AB
square
#AB5CA7 #AB885C #5CAB60 #5C80AB
split-complementary
#AB5CA7 #80AB5C #5CAB88
monochromatic
#5D305B #854582 #AB5CA7 #C084BD #D5ADD3

Accessibility & contrast

On white

4.36
#AB5CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AB5CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CA7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CA7#FFFFFF#000000##000000
##AB5CA71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5772AA
Deuteranopia (green-blind)
#6D7DA5
Tritanopia (blue-blind)
#B0637A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab5ca7;
/* rgb */ color: rgb(171, 92, 167);
/* oklch */ color: oklch(59.4% 0.141 329.0);
Tailwind
colors: {
  custom: {
    50: '#c68dc1',
    500: '#ab5ca7',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ca7;
$custom-light: #c68dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ca7",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 303.038,
    "s": 31.984,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59357,
    "c": 0.14109,
    "h": 329
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#AB5CA7
secondary
#A0C3A2
accent
#C86560
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AB5CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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