#AB6ABC#AB6ABC

#AB6ABC is a light, vivid purple. Relative luminance 0.226; OKLCH L 62.5% C 0.138 H 319.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AB6ABC
RGBrgb(171, 106, 188)
HSLhsl(288, 38%, 58%)
HSVhsv(288, 44%, 74%)
CMYKcmyk(9%, 43.6%, 0%, 26.3%)
CIE-LABlab(54.66, 39.71, -32.78)
CIE-LCHlch(54.66, 51.50, 320.46°)
OKLaboklab(62.53% 0.1043 -0.0904)
OKLCHoklch(62.53% 0.138 319.1)
XYZxyz(31.0245, 22.5979, 50.2948)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6ABC #7BBC6A
analogous
#826ABC #AB6ABC #BC6AA4
triadic
#AB6ABC #BCAB6A #6ABCAB
tetradic
#AB6ABC #BC826A #7BBC6A #6AA4BC
square
#AB6ABC #BC826A #7BBC6A #6AA4BC
split-complementary
#AB6ABC #A4BC6A #6ABC82
monochromatic
#693576 #8E48A1 #AB6ABC #C394CF #DBBEE2

Accessibility & contrast

On white

3.80
#AB6ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AB6ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6ABC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6ABC#FFFFFF#000000##000000
##AB6ABC1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBF
Deuteranopia (green-blind)
#6F85BA
Tritanopia (blue-blind)
#AC758A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab6abc;
/* rgb */ color: rgb(171, 106, 188);
/* oklch */ color: oklch(62.5% 0.138 319.1);
Tailwind
colors: {
  custom: {
    50: '#c596d0',
    500: '#ab6abc',
    950: '#000000',
  },
}
SCSS
$custom: #ab6abc;
$custom-light: #c596d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6abc",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 287.561,
    "s": 37.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62532,
    "c": 0.13805,
    "h": 319.1
  },
  "luminance": 0.22597
}

Semantic roles & 50–950 ramp

primary
#AB6ABC
secondary
#B7D1B0
accent
#CE5A72
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AB6ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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