#AB7DA7#AB7DA7

#AB7DA7 is a light, moderate purple. Relative luminance 0.261; OKLCH L 64.9% C 0.081 H 329.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AB7DA7
RGBrgb(171, 125, 167)
HSLhsl(305, 21%, 58%)
HSVhsv(305, 27%, 67%)
CMYKcmyk(0%, 26.9%, 2.3%, 32.9%)
CIE-LABlab(58.15, 24.95, -15.35)
CIE-LCHlch(58.15, 29.29, 328.41°)
OKLaboklab(64.9% 0.0698 -0.0413)
OKLCHoklch(64.9% 0.081 329.4)
XYZxyz(31.1026, 26.1162, 39.9543)
Luminance0.2611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7DA7 #7DAB81
analogous
#987DAB #AB7DA7 #AB7D90
triadic
#AB7DA7 #A7AB7D #7DA7AB
tetradic
#AB7DA7 #AB987D #7DAB81 #7D90AB
square
#AB7DA7 #AB987D #7DAB81 #7D90AB
split-complementary
#AB7DA7 #90AB7D #7DAB98
monochromatic
#694466 #8F5C8A #AB7DA7 #C3A2C0 #DBC7D9

Accessibility & contrast

On white

3.37
#AB7DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AB7DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7DA7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7DA7#FFFFFF#000000##000000
##AB7DA71.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B88A9
Deuteranopia (green-blind)
#868EA5
Tritanopia (blue-blind)
#AF808C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab7da7;
/* rgb */ color: rgb(171, 125, 167);
/* oklch */ color: oklch(64.9% 0.081 329.4);
Tailwind
colors: {
  custom: {
    50: '#c4a3c1',
    500: '#ab7da7',
    950: '#000000',
  },
}
SCSS
$custom: #ab7da7;
$custom-light: #c4a3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7da7",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 167
  },
  "hsl": {
    "h": 305.217,
    "s": 21.495,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64898,
    "c": 0.0811,
    "h": 329.4
  },
  "luminance": 0.26115
}

Semantic roles & 50–950 ramp

primary
#AB7DA7
secondary
#B9CBBA
accent
#BE716A
background
#FCFAFB
surface
#F8F4F7
border
#D1CED0
text
#130F12
muted
#827F81

Preview Lab

Preview with #AB7DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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