#AB6BB2#AB6BB2

#AB6BB2 is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.2% C 0.126 H 323.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AB6BB2
RGBrgb(171, 107, 178)
HSLhsl(294, 32%, 56%)
HSVhsv(294, 40%, 70%)
CMYKcmyk(3.9%, 39.9%, 0%, 30.2%)
CIE-LABlab(54.44, 37.15, -27.36)
CIE-LCHlch(54.44, 46.14, 323.63°)
OKLaboklab(62.22% 0.1008 -0.0749)
OKLCHoklch(62.22% 0.126 323.4)
XYZxyz(30.0873, 22.3888, 44.8475)
Luminance0.2239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BB2 #72B26B
analogous
#876BB2 #AB6BB2 #B26B95
triadic
#AB6BB2 #B2AB6B #6BB2AB
tetradic
#AB6BB2 #B2876B #72B26B #6B95B2
square
#AB6BB2 #B2876B #72B26B #6B95B2
split-complementary
#AB6BB2 #95B26B #6BB287
monochromatic
#66386B #8C4D93 #AB6BB2 #C293C7 #D9BCDC

Accessibility & contrast

On white

3.83
#AB6BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#AB6BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BB2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BB2#FFFFFF#000000##000000
##AB6BB21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB5
Deuteranopia (green-blind)
#7485B0
Tritanopia (blue-blind)
#AD7386
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab6bb2;
/* rgb */ color: rgb(171, 107, 178);
/* oklch */ color: oklch(62.2% 0.126 323.4);
Tailwind
colors: {
  custom: {
    50: '#c597c9',
    500: '#ab6bb2',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bb2;
$custom-light: #c597c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bb2",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 294.085,
    "s": 31.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62225,
    "c": 0.12558,
    "h": 323.4
  },
  "luminance": 0.22388
}

Semantic roles & 50–950 ramp

primary
#AB6BB2
secondary
#B1CBAE
accent
#C8606A
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #AB6BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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