#AB4BC4#AB4BC4

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

Color values

HEX#AB4BC4
RGBrgb(171, 75, 196)
HSLhsl(288, 51%, 53%)
HSVhsv(288, 62%, 77%)
CMYKcmyk(12.8%, 61.7%, 0%, 23.1%)
CIE-LABlab(49.10, 57.05, -46.15)
CIE-LCHlch(49.10, 73.38, 321.03°)
OKLaboklab(58.57% 0.1473 -0.1289)
OKLCHoklch(58.57% 0.196 318.8)
XYZxyz(29.2731, 17.6769, 54.0839)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BC4 #64C44B
analogous
#6E4BC4 #AB4BC4 #C44BA1
triadic
#AB4BC4 #C4AB4B #4BC4AB
tetradic
#AB4BC4 #C46E4B #64C44B #4BA1C4
square
#AB4BC4 #C46E4B #64C44B #4BA1C4
split-complementary
#AB4BC4 #A1C44B #4BC46E
monochromatic
#602570 #88349E #AB4BC4 #C179D3 #D6A7E2

Accessibility & contrast

On white

4.63
#AB4BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB4BC4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BC4#FFFFFF#000000##FFFFFF
##AB4BC41.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6EC8
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#AB5F81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4bc4;
/* rgb */ color: rgb(171, 75, 196);
/* oklch */ color: oklch(58.6% 0.196 318.8);
Tailwind
colors: {
  custom: {
    50: '#c783d6',
    500: '#ab4bc4',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bc4;
$custom-light: #c783d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bc4",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 287.603,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58569,
    "c": 0.19569,
    "h": 318.8
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#AB4BC4
secondary
#A6CF9B
accent
#DA4E6B
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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