#AB7CC2#AB7CC2

#AB7CC2 is a light, moderate purple. Relative luminance 0.270; OKLCH L 65.8% C 0.113 H 314.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AB7CC2
RGBrgb(171, 124, 194)
HSLhsl(280, 36%, 62%)
HSVhsv(280, 36%, 76%)
CMYKcmyk(11.9%, 36.1%, 0%, 23.9%)
CIE-LABlab(58.95, 30.98, -29.54)
CIE-LCHlch(58.95, 42.81, 316.37°)
OKLaboklab(65.85% 0.0789 -0.0812)
OKLCHoklch(65.85% 0.113 314.2)
XYZxyz(33.7383, 26.9689, 54.4567)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7CC2 #93C27C
analogous
#887CC2 #AB7CC2 #C27CB6
triadic
#AB7CC2 #C2AB7C #7CC2AB
tetradic
#AB7CC2 #C2887C #93C27C #7CB6C2
square
#AB7CC2 #C2887C #93C27C #7CB6C2
split-complementary
#AB7CC2 #B6C27C #7CC288
monochromatic
#6E3E85 #9052AF #AB7CC2 #C6A6D5 #E1D0E9

Accessibility & contrast

On white

3.28
#AB7CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#AB7CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7CC2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7CC2#FFFFFF#000000##000000
##AB7CC21.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#718BC5
Deuteranopia (green-blind)
#7C8FC0
Tritanopia (blue-blind)
#AA8596
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab7cc2;
/* rgb */ color: rgb(171, 124, 194);
/* oklch */ color: oklch(65.8% 0.113 314.2);
Tailwind
colors: {
  custom: {
    50: '#c5a2d4',
    500: '#ab7cc2',
    950: '#000000',
  },
}
SCSS
$custom: #ab7cc2;
$custom-light: #c5a2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7cc2",
  "rgb": {
    "r": 171,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 280.286,
    "s": 36.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65847,
    "c": 0.11321,
    "h": 314.2
  },
  "luminance": 0.26968
}

Semantic roles & 50–950 ramp

primary
#AB7CC2
secondary
#C9DAC0
accent
#AF365E
background
#FCFAFD
surface
#F8F3FA
border
#D1CDD3
text
#130F14
muted
#827F83

Preview Lab

Preview with #AB7CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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