#AB6CBB#AB6CBB

#AB6CBB is a light, vivid purple. Relative luminance 0.230; OKLCH L 62.8% C 0.133 H 319.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AB6CBB
RGBrgb(171, 108, 187)
HSLhsl(288, 37%, 58%)
HSVhsv(288, 42%, 73%)
CMYKcmyk(8.6%, 42.2%, 0%, 26.7%)
CIE-LABlab(55.04, 38.42, -31.60)
CIE-LCHlch(55.04, 49.75, 320.56°)
OKLaboklab(62.81% 0.1012 -0.087)
OKLCHoklch(62.81% 0.133 319.3)
XYZxyz(31.1256, 22.9719, 49.7985)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CBB #7CBB6C
analogous
#836CBB #AB6CBB #BB6CA3
triadic
#AB6CBB #BBAB6C #6CBBAB
tetradic
#AB6CBB #BB836C #7CBB6C #6CA3BB
square
#AB6CBB #BB836C #7CBB6C #6CA3BB
split-complementary
#AB6CBB #A3BB6C #6CBB83
monochromatic
#693776 #8E4AA0 #AB6CBB #C396CE #DBC0E2

Accessibility & contrast

On white

3.75
#AB6CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#AB6CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CBB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CBB#FFFFFF#000000##000000
##AB6CBB1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBE
Deuteranopia (green-blind)
#7186B9
Tritanopia (blue-blind)
#AC768B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab6cbb;
/* rgb */ color: rgb(171, 108, 187);
/* oklch */ color: oklch(62.8% 0.133 319.3);
Tailwind
colors: {
  custom: {
    50: '#c597cf',
    500: '#ab6cbb',
    950: '#000000',
  },
}
SCSS
$custom: #ab6cbb;
$custom-light: #c597cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6cbb",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 287.848,
    "s": 36.744,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62807,
    "c": 0.13347,
    "h": 319.3
  },
  "luminance": 0.22971
}

Semantic roles & 50–950 ramp

primary
#AB6CBB
secondary
#B8D1B2
accent
#CD5B72
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB6CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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