#AB4BC0#AB4BC0

#AB4BC0 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.3% C 0.192 H 320.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB4BC0
RGBrgb(171, 75, 192)
HSLhsl(289, 48%, 52%)
HSVhsv(289, 61%, 75%)
CMYKcmyk(10.9%, 60.9%, 0%, 24.7%)
CIE-LABlab(48.88, 56.27, -44.18)
CIE-LCHlch(48.88, 71.54, 321.86°)
OKLaboklab(58.34% 0.1472 -0.1232)
OKLCHoklch(58.34% 0.192 320.1)
XYZxyz(28.8239, 17.4972, 51.7180)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BC0 #60C04B
analogous
#714BC0 #AB4BC0 #C04B9A
triadic
#AB4BC0 #C0AB4B #4BC0AB
tetradic
#AB4BC0 #C0714B #60C04B #4B9AC0
square
#AB4BC0 #C0714B #60C04B #4B9AC0
split-complementary
#AB4BC0 #9AC04B #4BC071
monochromatic
#5F256B #873598 #AB4BC0 #C078D0 #D5A6E0

Accessibility & contrast

On white

4.67
#AB4BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AB4BC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4BC0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BC0#FFFFFF#000000##FFFFFF
##AB4BC01.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC4
Deuteranopia (green-blind)
#5578BD
Tritanopia (blue-blind)
#AC5E7F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4bc0;
/* rgb */ color: rgb(171, 75, 192);
/* oklch */ color: oklch(58.3% 0.192 320.1);
Tailwind
colors: {
  custom: {
    50: '#c783d3',
    500: '#ab4bc0',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bc0;
$custom-light: #c783d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bc0",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 289.231,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58336,
    "c": 0.1919,
    "h": 320.1
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#AB4BC0
secondary
#A3CD9A
accent
#D85068
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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