#AB7ABE#AB7ABE

#AB7ABE is a light, moderate purple. Relative luminance 0.263; OKLCH L 65.3% C 0.112 H 316.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AB7ABE
RGBrgb(171, 122, 190)
HSLhsl(283, 34%, 61%)
HSVhsv(283, 36%, 75%)
CMYKcmyk(10%, 35.8%, 0%, 25.5%)
CIE-LABlab(58.32, 31.26, -28.24)
CIE-LCHlch(58.32, 42.13, 317.91°)
OKLaboklab(65.32% 0.0809 -0.0775)
OKLCHoklch(65.32% 0.112 316.2)
XYZxyz(33.0470, 26.2955, 52.0399)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7ABE #8DBE7A
analogous
#897ABE #AB7ABE #BE7AAF
triadic
#AB7ABE #BEAB7A #7ABEAB
tetradic
#AB7ABE #BE897A #8DBE7A #7AAFBE
square
#AB7ABE #BE897A #8DBE7A #7AAFBE
split-complementary
#AB7ABE #AFBE7A #7ABE89
monochromatic
#6D3E7F #9052A8 #AB7ABE #C5A3D2 #DFCCE6

Accessibility & contrast

On white

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

On black

6.26
#AB7ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7ABE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7ABE#FFFFFF#000000##000000
##AB7ABE1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089C1
Deuteranopia (green-blind)
#7B8EBC
Tritanopia (blue-blind)
#AA8393
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab7abe;
/* rgb */ color: rgb(171, 122, 190);
/* oklch */ color: oklch(65.3% 0.112 316.2);
Tailwind
colors: {
  custom: {
    50: '#c5a1d1',
    500: '#ab7abe',
    950: '#000000',
  },
}
SCSS
$custom: #ab7abe;
$custom-light: #c5a1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7abe",
  "rgb": {
    "r": 171,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 283.235,
    "s": 34.343,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65316,
    "c": 0.11204,
    "h": 316.2
  },
  "luminance": 0.26295
}

Semantic roles & 50–950 ramp

primary
#AB7ABE
secondary
#C4D7BD
accent
#AD3859
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #AB7ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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