#AB6AAA#AB6AAA

#AB6AAA is a mid, moderate purple. Relative luminance 0.219; OKLCH L 61.7% C 0.119 H 327.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB6AAA
RGBrgb(171, 106, 170)
HSLhsl(301, 28%, 54%)
HSVhsv(301, 38%, 67%)
CMYKcmyk(0%, 38%, 0.6%, 32.9%)
CIE-LABlab(53.89, 36.15, -23.58)
CIE-LCHlch(53.89, 43.16, 326.89°)
OKLaboklab(61.7% 0.1005 -0.0641)
OKLCHoklch(61.7% 0.119 327.4)
XYZxyz(29.2038, 21.8695, 40.7054)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6AAA #6AAB6B
analogous
#8C6AAB #AB6AAA #AB6A8A
triadic
#AB6AAA #AAAB6A #6AAAAB
tetradic
#AB6AAA #AB8C6A #6AAB6B #6A8AAB
square
#AB6AAA #AB8C6A #6AAB6B #6A8AAB
split-complementary
#AB6AAA #8AAB6A #6AAB8C
monochromatic
#633862 #8A4E89 #AB6AAA #C191C0 #D7B8D7

Accessibility & contrast

On white

3.91
#AB6AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AB6AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6AAA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6AAA#FFFFFF#000000##000000
##AB6AAA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#657CAC
Deuteranopia (green-blind)
#7684A8
Tritanopia (blue-blind)
#AF7082
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab6aaa;
/* rgb */ color: rgb(171, 106, 170);
/* oklch */ color: oklch(61.7% 0.119 327.4);
Tailwind
colors: {
  custom: {
    50: '#c596c3',
    500: '#ab6aaa',
    950: '#000000',
  },
}
SCSS
$custom: #ab6aaa;
$custom-light: #c596c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6aaa",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 300.923,
    "s": 27.897,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.11919,
    "h": 327.4
  },
  "luminance": 0.21868
}

Semantic roles & 50–950 ramp

primary
#AB6AAA
secondary
#ABC6AB
accent
#C46564
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130D12
muted
#827E81

Preview Lab

Preview with #AB6AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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