#AB5CA5#AB5CA5

#AB5CA5 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.3% C 0.139 H 330.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AB5CA5
RGBrgb(171, 92, 165)
HSLhsl(305, 32%, 52%)
HSVhsv(305, 46%, 67%)
CMYKcmyk(0%, 46.2%, 3.5%, 32.9%)
CIE-LABlab(50.72, 42.75, -25.55)
CIE-LCHlch(50.72, 49.81, 329.14°)
OKLaboklab(59.27% 0.1206 -0.0696)
OKLCHoklch(59.27% 0.139 330)
XYZxyz(27.4130, 19.0303, 37.8193)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CA5 #5CAB62
analogous
#8A5CAB #AB5CA5 #AB5C7E
triadic
#AB5CA5 #A5AB5C #5CA5AB
tetradic
#AB5CA5 #AB8A5C #5CAB62 #5C7EAB
square
#AB5CA5 #AB8A5C #5CAB62 #5C7EAB
split-complementary
#AB5CA5 #7EAB5C #5CAB8A
monochromatic
#5D3059 #854580 #AB5CA5 #C084BB #D5ADD2

Accessibility & contrast

On white

4.37
#AB5CA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AB5CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CA5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CA5#FFFFFF#000000##000000
##AB5CA51.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5872A8
Deuteranopia (green-blind)
#6E7DA3
Tritanopia (blue-blind)
#B06279
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab5ca5;
/* rgb */ color: rgb(171, 92, 165);
/* oklch */ color: oklch(59.3% 0.139 330.0);
Tailwind
colors: {
  custom: {
    50: '#c68dc0',
    500: '#ab5ca5',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ca5;
$custom-light: #c68dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ca5",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 304.557,
    "s": 31.984,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59265,
    "c": 0.13922,
    "h": 330
  },
  "luminance": 0.19029
}

Semantic roles & 50–950 ramp

primary
#AB5CA5
secondary
#A0C3A3
accent
#C86860
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AB5CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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