#AB7AAA#AB7AAA

#AB7AAA is a light, moderate purple. Relative luminance 0.255; OKLCH L 64.5% C 0.090 H 327.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AB7AAA
RGBrgb(171, 122, 170)
HSLhsl(301, 23%, 57%)
HSVhsv(301, 29%, 67%)
CMYKcmyk(0%, 28.7%, 0.6%, 32.9%)
CIE-LABlab(57.54, 27.22, -17.99)
CIE-LCHlch(57.54, 32.63, 326.54°)
OKLaboklab(64.47% 0.0755 -0.0486)
OKLCHoklch(64.47% 0.09 327.2)
XYZxyz(31.0091, 25.4803, 41.3072)
Luminance0.2548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7AAA #7AAB7B
analogous
#937AAB #AB7AAA #AB7A92
triadic
#AB7AAA #AAAB7A #7AAAAB
tetradic
#AB7AAA #AB937A #7AAB7B #7A92AB
square
#AB7AAA #AB937A #7AAB7B #7A92AB
split-complementary
#AB7AAA #92AB7A #7AAB93
monochromatic
#694268 #8E5A8D #AB7AAA #C3A0C2 #DAC5DA

Accessibility & contrast

On white

3.44
#AB7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#AB7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7AAA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7AAA#FFFFFF#000000##000000
##AB7AAA1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7786AC
Deuteranopia (green-blind)
#838CA8
Tritanopia (blue-blind)
#AE7E8B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab7aaa;
/* rgb */ color: rgb(171, 122, 170);
/* oklch */ color: oklch(64.5% 0.090 327.2);
Tailwind
colors: {
  custom: {
    50: '#c4a1c3',
    500: '#ab7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #ab7aaa;
$custom-light: #c4a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7aaa",
  "rgb": {
    "r": 171,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 301.224,
    "s": 22.581,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6447,
    "c": 0.08978,
    "h": 327.2
  },
  "luminance": 0.25479
}

Semantic roles & 50–950 ramp

primary
#AB7AAA
secondary
#B7CAB7
accent
#BF6A69
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130F12
muted
#827E81

Preview Lab

Preview with #AB7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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