#AB7FC0#AB7FC0

#AB7FC0 is a light, moderate purple. Relative luminance 0.276; OKLCH L 66.3% C 0.105 H 314.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AB7FC0
RGBrgb(171, 127, 192)
HSLhsl(281, 34%, 63%)
HSVhsv(281, 34%, 75%)
CMYKcmyk(10.9%, 33.9%, 0%, 24.7%)
CIE-LABlab(59.56, 28.87, -27.45)
CIE-LCHlch(59.56, 39.83, 316.44°)
OKLaboklab(66.29% 0.0739 -0.0753)
OKLCHoklch(66.29% 0.105 314.5)
XYZxyz(33.8969, 27.6431, 53.4089)
Luminance0.2764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7FC0 #94C07F
analogous
#8A7FC0 #AB7FC0 #C07FB5
triadic
#AB7FC0 #C0AB7F #7FC0AB
tetradic
#AB7FC0 #C08A7F #94C07F #7FB5C0
square
#AB7FC0 #C08A7F #94C07F #7FB5C0
split-complementary
#AB7FC0 #B5C07F #7FC08A
monochromatic
#6E4184 #9056AC #AB7FC0 #C6A8D4 #E1D1E8

Accessibility & contrast

On white

3.22
#AB7FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#AB7FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7FC0
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7FC0#FFFFFF#000000##000000
##AB7FC01.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#758DC3
Deuteranopia (green-blind)
#7F91BE
Tritanopia (blue-blind)
#AA8797
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab7fc0;
/* rgb */ color: rgb(171, 127, 192);
/* oklch */ color: oklch(66.3% 0.105 314.5);
Tailwind
colors: {
  custom: {
    50: '#c5a4d3',
    500: '#ab7fc0',
    950: '#000000',
  },
}
SCSS
$custom: #ab7fc0;
$custom-light: #c5a4d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7fc0",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 192
  },
  "hsl": {
    "h": 280.615,
    "s": 34.031,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6629,
    "c": 0.10547,
    "h": 314.5
  },
  "luminance": 0.27642
}

Semantic roles & 50–950 ramp

primary
#AB7FC0
secondary
#C9D9C2
accent
#AD395E
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AB7FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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