#AB4CBD#AB4CBD

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

Color values

HEX#AB4CBD
RGBrgb(171, 76, 189)
HSLhsl(290, 46%, 52%)
HSVhsv(290, 60%, 74%)
CMYKcmyk(9.5%, 59.8%, 0%, 25.9%)
CIE-LABlab(48.89, 55.22, -42.43)
CIE-LCHlch(48.89, 69.65, 322.46°)
OKLaboklab(58.29% 0.1458 -0.1181)
OKLCHoklch(58.29% 0.188 321)
XYZxyz(28.5633, 17.5023, 50.0080)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CBD #5EBD4C
analogous
#724CBD #AB4CBD #BD4C97
triadic
#AB4CBD #BDAB4C #4CBDAB
tetradic
#AB4CBD #BD724C #5EBD4C #4C97BD
square
#AB4CBD #BD724C #5EBD4C #4C97BD
split-complementary
#AB4CBD #97BD4C #4CBD72
monochromatic
#5E2668 #863795 #AB4CBD #C079CD #D5A5DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4CBD#FFFFFF#000000##FFFFFF
##AB4CBD1.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)
#346DC1
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#AC5D7D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4cbd;
/* rgb */ color: rgb(171, 76, 189);
/* oklch */ color: oklch(58.3% 0.188 321.0);
Tailwind
colors: {
  custom: {
    50: '#c783d1',
    500: '#ab4cbd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cbd;
$custom-light: #c783d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cbd",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 290.442,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58288,
    "c": 0.18762,
    "h": 321
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#AB4CBD
secondary
#A2CB9A
accent
#D65267
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB4CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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