#AB4BC9#AB4BC9

#AB4BC9 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 58.9% C 0.200 H 317.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AB4BC9
RGBrgb(171, 75, 201)
HSLhsl(286, 54%, 54%)
HSVhsv(286, 63%, 79%)
CMYKcmyk(14.9%, 62.7%, 0%, 21.2%)
CIE-LABlab(49.38, 58.04, -48.58)
CIE-LCHlch(49.38, 75.69, 320.07°)
OKLaboklab(58.87% 0.1473 -0.136)
OKLCHoklch(58.87% 0.2 317.3)
XYZxyz(29.8518, 17.9083, 57.1312)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BC9 #69C94B
analogous
#6C4BC9 #AB4BC9 #C94BA8
triadic
#AB4BC9 #C9AB4B #4BC9AB
tetradic
#AB4BC9 #C96C4B #69C94B #4BA8C9
square
#AB4BC9 #C96C4B #69C94B #4BA8C9
split-complementary
#AB4BC9 #A8C94B #4BC96C
monochromatic
#622376 #8A32A5 #AB4BC9 #C17AD7 #D7A9E5

Accessibility & contrast

On white

4.58
#AB4BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AB4BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BC9
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BC9#FFFFFF#000000##000000
##AB4BC91.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#236FCD
Deuteranopia (green-blind)
#4E78C6
Tritanopia (blue-blind)
#AA6183
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4bc9;
/* rgb */ color: rgb(171, 75, 201);
/* oklch */ color: oklch(58.9% 0.200 317.3);
Tailwind
colors: {
  custom: {
    50: '#c783da',
    500: '#ab4bc9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bc9;
$custom-light: #c783da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bc9",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 285.714,
    "s": 53.846,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58865,
    "c": 0.20047,
    "h": 317.3
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#AB4BC9
secondary
#AAD39D
accent
#DD4B6D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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