#AB73BC#AB73BC

#AB73BC is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.0% C 0.122 H 318.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AB73BC
RGBrgb(171, 115, 188)
HSLhsl(286, 35%, 59%)
HSVhsv(286, 39%, 74%)
CMYKcmyk(9%, 38.8%, 0%, 26.3%)
CIE-LABlab(56.64, 34.76, -29.70)
CIE-LCHlch(56.64, 45.72, 319.48°)
OKLaboklab(64.02% 0.091 -0.0816)
OKLCHoklch(64.02% 0.122 318.1)
XYZxyz(32.0012, 24.5511, 50.6203)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73BC #84BC73
analogous
#8773BC #AB73BC #BC73A9
triadic
#AB73BC #BCAB73 #73BCAB
tetradic
#AB73BC #BC8773 #84BC73 #73A9BC
square
#AB73BC #BC8773 #84BC73 #73A9BC
split-complementary
#AB73BC #A9BC73 #73BC87
monochromatic
#6B3A7A #904EA4 #AB73BC #C49CD0 #DDC6E4

Accessibility & contrast

On white

3.55
#AB73BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#AB73BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73BC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73BC#FFFFFF#000000##000000
##AB73BC1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BF
Deuteranopia (green-blind)
#768ABA
Tritanopia (blue-blind)
#AB7C8F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab73bc;
/* rgb */ color: rgb(171, 115, 188);
/* oklch */ color: oklch(64.0% 0.122 318.1);
Tailwind
colors: {
  custom: {
    50: '#c59cd0',
    500: '#ab73bc',
    950: '#000000',
  },
}
SCSS
$custom: #ab73bc;
$custom-light: #c59cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73bc",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 286.027,
    "s": 35.266,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64018,
    "c": 0.12223,
    "h": 318.1
  },
  "luminance": 0.2455
}

Semantic roles & 50–950 ramp

primary
#AB73BC
secondary
#BED4B7
accent
#CB5C76
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB73BC

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

Preview Lab → · Contrast checker → · Palette generator →

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