#AB73BB#AB73BB

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

Color values

HEX#AB73BB
RGBrgb(171, 115, 187)
HSLhsl(287, 35%, 59%)
HSVhsv(287, 39%, 73%)
CMYKcmyk(8.6%, 38.5%, 0%, 26.7%)
CIE-LABlab(56.59, 34.55, -29.20)
CIE-LCHlch(56.59, 45.23, 319.80°)
OKLaboklab(63.97% 0.0907 -0.0802)
OKLCHoklch(63.97% 0.121 318.5)
XYZxyz(31.8937, 24.5082, 50.0545)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73BB #83BB73
analogous
#8773BB #AB73BB #BB73A7
triadic
#AB73BB #BBAB73 #73BBAB
tetradic
#AB73BB #BB8773 #83BB73 #73A7BB
square
#AB73BB #BB8773 #83BB73 #73A7BB
split-complementary
#AB73BB #A7BB73 #73BB87
monochromatic
#6B3B79 #904FA2 #AB73BB #C49CCF #DCC5E3

Accessibility & contrast

On white

3.56
#AB73BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#AB73BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73BB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73BB#FFFFFF#000000##000000
##AB73BB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#778AB9
Tritanopia (blue-blind)
#AB7C8E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab73bb;
/* rgb */ color: rgb(171, 115, 187);
/* oklch */ color: oklch(64.0% 0.121 318.5);
Tailwind
colors: {
  custom: {
    50: '#c59ccf',
    500: '#ab73bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab73bb;
$custom-light: #c59ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73bb",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 286.667,
    "s": 34.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63972,
    "c": 0.12109,
    "h": 318.5
  },
  "luminance": 0.24507
}

Semantic roles & 50–950 ramp

primary
#AB73BB
secondary
#BDD3B7
accent
#CB5D75
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB73BB

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

Preview Lab → · Contrast checker → · Palette generator →

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