#AB73BD#AB73BD

#AB73BD is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.1% C 0.123 H 317.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AB73BD
RGBrgb(171, 115, 189)
HSLhsl(285, 36%, 60%)
HSVhsv(285, 39%, 74%)
CMYKcmyk(9.5%, 39.2%, 0%, 25.9%)
CIE-LABlab(56.68, 34.96, -30.21)
CIE-LCHlch(56.68, 46.21, 319.17°)
OKLaboklab(64.06% 0.0912 -0.0831)
OKLCHoklch(64.06% 0.123 317.7)
XYZxyz(32.1093, 24.5944, 51.1900)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73BD #85BD73
analogous
#8673BD #AB73BD #BD73AA
triadic
#AB73BD #BDAB73 #73BDAB
tetradic
#AB73BD #BD8673 #85BD73 #73AABD
square
#AB73BD #BD8673 #85BD73 #73AABD
split-complementary
#AB73BD #AABD73 #73BD86
monochromatic
#6C3A7B #904EA5 #AB73BD #C49DD1 #DDC6E4

Accessibility & contrast

On white

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

On black

5.92
#AB73BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73BD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73BD#FFFFFF#000000##000000
##AB73BD1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab73bd;
/* rgb */ color: rgb(171, 115, 189);
/* oklch */ color: oklch(64.1% 0.123 317.7);
Tailwind
colors: {
  custom: {
    50: '#c59cd1',
    500: '#ab73bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab73bd;
$custom-light: #c59cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73bd",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 285.405,
    "s": 35.922,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64064,
    "c": 0.12335,
    "h": 317.7
  },
  "luminance": 0.24594
}

Semantic roles & 50–950 ramp

primary
#AB73BD
secondary
#BFD4B8
accent
#CC5C77
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB73BD

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

Preview Lab → · Contrast checker → · Palette generator →

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