#AB6ABB#AB6ABB

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

Color values

HEX#AB6ABB
RGBrgb(171, 106, 187)
HSLhsl(288, 37%, 57%)
HSVhsv(288, 43%, 73%)
CMYKcmyk(8.6%, 43.3%, 0%, 26.7%)
CIE-LABlab(54.61, 39.51, -32.28)
CIE-LCHlch(54.61, 51.02, 320.75°)
OKLaboklab(62.48% 0.1042 -0.0889)
OKLCHoklch(62.48% 0.137 319.5)
XYZxyz(30.9171, 22.5549, 49.7290)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6ABB #7ABB6A
analogous
#826ABB #AB6ABB #BB6AA3
triadic
#AB6ABB #BBAB6A #6ABBAB
tetradic
#AB6ABB #BB826A #7ABB6A #6AA3BB
square
#AB6ABB #BB826A #7ABB6A #6AA3BB
split-complementary
#AB6ABB #A3BB6A #6ABB82
monochromatic
#693575 #8E499F #AB6ABB #C394CE #DABEE1

Accessibility & contrast

On white

3.81
#AB6ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#AB6ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6ABB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6ABB#FFFFFF#000000##000000
##AB6ABB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#6F85B9
Tritanopia (blue-blind)
#AC748A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab6abb;
/* rgb */ color: rgb(171, 106, 187);
/* oklch */ color: oklch(62.5% 0.137 319.5);
Tailwind
colors: {
  custom: {
    50: '#c596cf',
    500: '#ab6abb',
    950: '#000000',
  },
}
SCSS
$custom: #ab6abb;
$custom-light: #c596cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6abb",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 187
  },
  "hsl": {
    "h": 288.148,
    "s": 37.327,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62483,
    "c": 0.13696,
    "h": 319.5
  },
  "luminance": 0.22554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB6ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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