#AB6BC2#AB6BC2

#AB6BC2 is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.0% C 0.143 H 316.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB6BC2
RGBrgb(171, 107, 194)
HSLhsl(284, 42%, 59%)
HSVhsv(284, 45%, 76%)
CMYKcmyk(11.9%, 44.8%, 0%, 23.9%)
CIE-LABlab(55.14, 40.41, -35.46)
CIE-LCHlch(55.14, 53.76, 318.74°)
OKLaboklab(62.99% 0.104 -0.0981)
OKLCHoklch(62.99% 0.143 316.7)
XYZxyz(31.7885, 23.0693, 53.8068)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BC2 #82C26B
analogous
#806BC2 #AB6BC2 #C26BAE
triadic
#AB6BC2 #C2AB6B #6BC2AB
tetradic
#AB6BC2 #C2806B #82C26B #6BAEC2
square
#AB6BC2 #C2806B #82C26B #6BAEC2
split-complementary
#AB6BC2 #AEC26B #6BC280
monochromatic
#6B347E #8F46AA #AB6BC2 #C496D4 #DCC2E6

Accessibility & contrast

On white

3.74
#AB6BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#AB6BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BC2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BC2#FFFFFF#000000##000000
##AB6BC21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C80C5
Deuteranopia (green-blind)
#6D86C0
Tritanopia (blue-blind)
#AA778D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab6bc2;
/* rgb */ color: rgb(171, 107, 194);
/* oklch */ color: oklch(63.0% 0.143 316.7);
Tailwind
colors: {
  custom: {
    50: '#c597d5',
    500: '#ab6bc2',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bc2;
$custom-light: #c597d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bc2",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 284.138,
    "s": 41.627,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62986,
    "c": 0.14292,
    "h": 316.7
  },
  "luminance": 0.23068
}

Semantic roles & 50–950 ramp

primary
#AB6BC2
secondary
#BCD5B3
accent
#D15677
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #AB6BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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