#AB4BC5#AB4BC5

#AB4BC5 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.6% C 0.197 H 318.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AB4BC5
RGBrgb(171, 75, 197)
HSLhsl(287, 51%, 53%)
HSVhsv(287, 62%, 77%)
CMYKcmyk(13.2%, 61.9%, 0%, 22.7%)
CIE-LABlab(49.16, 57.25, -46.64)
CIE-LCHlch(49.16, 73.84, 320.83°)
OKLaboklab(58.63% 0.1473 -0.1303)
OKLCHoklch(58.63% 0.197 318.5)
XYZxyz(29.3873, 17.7225, 54.6853)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BC5 #65C54B
analogous
#6E4BC5 #AB4BC5 #C54BA2
triadic
#AB4BC5 #C5AB4B #4BC5AB
tetradic
#AB4BC5 #C56E4B #65C54B #4BA2C5
square
#AB4BC5 #C56E4B #65C54B #4BA2C5
split-complementary
#AB4BC5 #A2C54B #4BC56E
monochromatic
#612471 #88339F #AB4BC5 #C179D4 #D6A8E3

Accessibility & contrast

On white

4.62
#AB4BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AB4BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4BC5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BC5#FFFFFF#000000##FFFFFF
##AB4BC51.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286EC9
Deuteranopia (green-blind)
#5178C2
Tritanopia (blue-blind)
#AB6081
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4bc5;
/* rgb */ color: rgb(171, 75, 197);
/* oklch */ color: oklch(58.6% 0.197 318.5);
Tailwind
colors: {
  custom: {
    50: '#c783d7',
    500: '#ab4bc5',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bc5;
$custom-light: #c783d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bc5",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 287.213,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58627,
    "c": 0.19665,
    "h": 318.5
  },
  "luminance": 0.17721
}

Semantic roles & 50–950 ramp

primary
#AB4BC5
secondary
#A7D09C
accent
#DB4D6B
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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