#AB6BBD#AB6BBD

#AB6BBD is a light, vivid purple. Relative luminance 0.228; OKLCH L 62.7% C 0.137 H 318.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB6BBD
RGBrgb(171, 107, 189)
HSLhsl(287, 38%, 58%)
HSVhsv(287, 43%, 74%)
CMYKcmyk(9.5%, 43.4%, 0%, 25.9%)
CIE-LABlab(54.92, 39.37, -32.95)
CIE-LCHlch(54.92, 51.34, 320.08°)
OKLaboklab(62.74% 0.1031 -0.0909)
OKLCHoklch(62.74% 0.137 318.6)
XYZxyz(31.2364, 22.8484, 50.8990)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BBD #7DBD6B
analogous
#826BBD #AB6BBD #BD6BA6
triadic
#AB6BBD #BDAB6B #6BBDAB
tetradic
#AB6BBD #BD826B #7DBD6B #6BA6BD
square
#AB6BBD #BD826B #7DBD6B #6BA6BD
split-complementary
#AB6BBD #A6BD6B #6BBD82
monochromatic
#693678 #8F48A2 #AB6BBD #C395D0 #DBC0E3

Accessibility & contrast

On white

3.77
#AB6BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AB6BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BBD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BBD#FFFFFF#000000##000000
##AB6BBD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FC0
Deuteranopia (green-blind)
#6F86BB
Tritanopia (blue-blind)
#AB768B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab6bbd;
/* rgb */ color: rgb(171, 107, 189);
/* oklch */ color: oklch(62.7% 0.137 318.6);
Tailwind
colors: {
  custom: {
    50: '#c597d1',
    500: '#ab6bbd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bbd;
$custom-light: #c597d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bbd",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 189
  },
  "hsl": {
    "h": 286.829,
    "s": 38.318,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62741,
    "c": 0.13741,
    "h": 318.6
  },
  "luminance": 0.22847
}

Semantic roles & 50–950 ramp

primary
#AB6BBD
secondary
#B9D2B2
accent
#CE5A73
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AB6BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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