#AB4BC8#AB4BC8

#AB4BC8 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.8% C 0.200 H 317.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AB4BC8
RGBrgb(171, 75, 200)
HSLhsl(286, 53%, 54%)
HSVhsv(286, 63%, 78%)
CMYKcmyk(14.5%, 62.5%, 0%, 21.6%)
CIE-LABlab(49.33, 57.84, -48.10)
CIE-LCHlch(49.33, 75.22, 320.26°)
OKLaboklab(58.8% 0.1473 -0.1346)
OKLCHoklch(58.8% 0.2 317.6)
XYZxyz(29.7345, 17.8614, 56.5137)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BC8 #68C84B
analogous
#6D4BC8 #AB4BC8 #C84BA7
triadic
#AB4BC8 #C8AB4B #4BC8AB
tetradic
#AB4BC8 #C86D4B #68C84B #4BA7C8
square
#AB4BC8 #C86D4B #68C84B #4BA7C8
split-complementary
#AB4BC8 #A7C84B #4BC86D
monochromatic
#622475 #8932A4 #AB4BC8 #C17AD6 #D7A9E5

Accessibility & contrast

On white

4.59
#AB4BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AB4BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4BC8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BC8#FFFFFF#000000##FFFFFF
##AB4BC81.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246FCC
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#AA6183
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4bc8;
/* rgb */ color: rgb(171, 75, 200);
/* oklch */ color: oklch(58.8% 0.200 317.6);
Tailwind
colors: {
  custom: {
    50: '#c783d9',
    500: '#ab4bc8',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bc8;
$custom-light: #c783d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bc8",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 286.08,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58805,
    "c": 0.19951,
    "h": 317.6
  },
  "luminance": 0.1786
}

Semantic roles & 50–950 ramp

primary
#AB4BC8
secondary
#A9D29D
accent
#DD4B6D
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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