#AB7ABC#AB7ABC

#AB7ABC is a light, moderate purple. Relative luminance 0.262; OKLCH L 65.2% C 0.110 H 317.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB7ABC
RGBrgb(171, 122, 188)
HSLhsl(285, 33%, 61%)
HSVhsv(285, 35%, 74%)
CMYKcmyk(9%, 35.1%, 0%, 26.3%)
CIE-LABlab(58.23, 30.84, -27.23)
CIE-LCHlch(58.23, 41.14, 318.56°)
OKLaboklab(65.23% 0.0804 -0.0746)
OKLCHoklch(65.23% 0.11 317.1)
XYZxyz(32.8299, 26.2086, 50.8965)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7ABC #8BBC7A
analogous
#8A7ABC #AB7ABC #BC7AAC
triadic
#AB7ABC #BCAB7A #7ABCAB
tetradic
#AB7ABC #BC8A7A #8BBC7A #7AACBC
square
#AB7ABC #BC8A7A #8BBC7A #7AACBC
split-complementary
#AB7ABC #ACBC7A #7ABC8A
monochromatic
#6D3F7D #9053A5 #AB7ABC #C5A3D1 #DECBE5

Accessibility & contrast

On white

3.36
#AB7ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#AB7ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7ABC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7ABC#FFFFFF#000000##000000
##AB7ABC1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BF
Deuteranopia (green-blind)
#7C8EBA
Tritanopia (blue-blind)
#AB8292
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab7abc;
/* rgb */ color: rgb(171, 122, 188);
/* oklch */ color: oklch(65.2% 0.110 317.1);
Tailwind
colors: {
  custom: {
    50: '#c5a1d0',
    500: '#ab7abc',
    950: '#000000',
  },
}
SCSS
$custom: #ab7abc;
$custom-light: #c5a1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7abc",
  "rgb": {
    "r": 171,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 284.545,
    "s": 33,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65227,
    "c": 0.10971,
    "h": 317.1
  },
  "luminance": 0.26208
}

Semantic roles & 50–950 ramp

primary
#AB7ABC
secondary
#C3D5BC
accent
#AC3A57
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #AB7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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